Re: mail() question - caution newbie here
| From: | Mr. Bogomil Shopov | Date: | Wed, 16 Apr 2003 07:30:22 +0000 |
| Subject: | Re: mail() question - caution newbie here | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-144070@lists.php.net to get a copy of this message | ||
hi you should use the folowing headers in your send mail script
look here: http://purplerain.org/mail
there is cool script
Headers
$headers .="MIME-Version: 1.0 \n";
$headers .="From:youremailadress@domain.com \n";
$headers .="X-Mailer: WEbMailer \n";
$headers .="X-Priority:1 \n";
$headers .="Content-Type: text/html; charset=windows-1251 \n";
and mail function:
mail("some@somedomain.org",$subject,$message_new,$headers);
Best regards
Bogomil