|
Posted by Chuck Anderson on 12/08/06 19:01
Vik Rubenfeld wrote:
> Thanks, Geoff. I added the code in, and it ran with no errors. But when
> I entered my own email address on the form, I received no email from the
> site. What could explain this?
>
>
> -Vik
>
>
>
> Geoff Berrow <blthecat@ckdog.co.uk> wrote:
>
>
>> Assuming you are replacing an@email.com with a valid email address you
>> could try
>>
>> if(mail( "an@email.com", "subject line",
>> "$text", "From: $email" )){
>> header( "Location: http://www.mydomain.com/Contact/thanks.html" );
>> }
>> else{
>> echo "mail could not be sent";
>> }
>>
>> This will check if mail is actually being received for posting.
>>
Just a thought, ... my ISP was blocking the IP address of the shared
server my site is on and bouncing all emails sent from it. I found the
bounce messages in the default mailbox at my domain.
--
*****************************
Chuck Anderson • Boulder, CO
http://www.CycleTourist.com
*****************************
Navigation:
[Reply to this message]
|