Re: How to make mail() use correct headers?
| From: | anton | Date: | Mon, 11 Jul 2005 09:41:09 +0000 |
| Subject: | Re: How to make mail() use correct headers? | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-26201@lists.php.net to get a copy of this message | ||
Hello,
Thank you. i tried that too. Does not help. Same thing.
--
Best Regards,
Anton
""Rodrigo"" <mailinglists@scarlet.be> wrote in message
news:200507110857.j6B8vpF5004645@outmx006.isp.belgacom.be...
> Try using the extra PHP parameter:
>
>
> mail($mailto, $mailsubject, $mailmessage, $mailheaders, "-f".$mailfrom);
> or
> mail($mailto, $mailsubject, $mailmessage, $mailheaders,
> "-fuser@domain.com");
>
> This user has to be added to the /etc/mail/trusted-users otherwise an
> X-Warning header will be added to the mail.
>
>
> Grtz
>
> Rodrigo