Re: Mail() Problem Sending
| From: | Curt Zirzow | Date: | Tue, 19 Aug 2003 14:05:24 +0000 |
| Subject: | Re: Mail() Problem Sending | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-160009@lists.php.net to get a copy of this message | ||
* Thus wrote Ivo Fokkema (I.F.A.C.Fokkema@LUMC.nl):
> "Cesar Aracena" <lists@icaam.com.ar> wrote in message
> news:003601c36600$5a2cbb60$fe00a8c0@seaing.seaingenieria.com...
> [snip]
> > For some e-mail servers, you have to write lots of "extra headers" in
> > the e-mails in order to pass their guard.
> [/snip]
>
> True! But actually, I' ve seen people using only the 'From:' header to send
> mail. Emails can then be dropped easily by servers thinking it is spam.
No email server should drop mail.
>
> Ben, I don't know what headers you send, but you could try these headers:
>
> $headers .= "Return-path: Name <email@example.org>\r\n";
Sending this header is virtually a waste of time and effort, it
will be ignored and set by the receiving smtp server, and on the
very fist line.
> $headers .= "Error-to: Name <email@example.org>\r\n";
This wont guarantee errors to return to that email address.
Curt
--
"I used to think I was indecisive, but now I'm not so sure."