If it's a local email address that's bad, check the return value of
http://php.net/mail itself.
If it's a non-local address, Errors-to: and Reply-to: or whatever should
work, depending on how well the email servers involved have implemented
those specs. Show the source for how you did Reply-to: If it's a Win box,
you need \r\n for a newline, not just \n. (\r\n is email spec, Un*x boxes
support \n alone, Windows software often doesn't)
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Ruben <[EMAIL PROTECTED]>
Newsgroups: php.general
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 20, 2001 6:45 AM
Subject: Sending email through "mail" function to a bad address
>
> Hi!
> When I send email through "mail" function to a bad address, I don't get an
> error message back, as I used to when using perl and sendmail. I've triyed
> using "Return-Path" and "Errors-To" headers with no results.
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]