Hi Richard,

Thank you for continuing to research this problem. 

Just before the weekend, I talked to my IP about the problem I was having. He 
thought it was strange: suggested I look at my browser settings to see what 
was being passed.

To make a long story short, he mentioned that with 'mailto:' I shouldn't be 
having these problems. I told him that I was using 'mail()'  -- [add a deep, 
low, groan from my IP] Seems like 'mail()' has been banned for security 
reasons by my IP (glad I found out now before I go 'live'!). He supplied a 
workaround IP-made function called 'smtpmail()' to be used in its place.

Glad I checked. Thanks again for your help!


On Tuesday 03 September 2002 02:23 pm, Richard Lynch wrote:
> >if(@mail($to, $subject, $message))
> >.....
> Is there an "else" clause here to tell you what went wrong if the email
> didn't go out?...
> Also add some headers like this:
> $headers = "From: [EMAIL PROTECTED]\r\n";
> $headers .= "Reply-to: [EMAIL PROTECTED]\r\n";
> and change your mail() to:
> mail($to, $subject, $message, $headers)
> Now when your email fails to deliver, the "bounce" will come back to you
> instead of, like, [EMAIL PROTECTED] or localhost or whatever, which is
> probably not getting read by a human.

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to