RE: [PHP] Sendmail making the from tag so ugly...
| From: | MR | Date: | Wed, 20 Dec 2000 23:26:11 +0000 |
| Subject: | RE: [PHP] Sendmail making the from tag so ugly... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-31336@lists.php.net to get a copy of this message | ||
Brandon Orther ...
> Hello everybody,
>
> Is there any way to change the name of the server when you use mail() to
> send e-mail?
$mail_headers="From: \"What ever you want
here\"<whateveryou@want.here>\nReply-To: \"What ever you want here - here it can be
different\" <anotherthingyou@want.to.be.here>\nX-Mailer: PHP/" . phpversion();
then use the mail() function properly, with those headers.