Re: Prob with Send mail using mail()
| From: | Mian Shafiq-Ur-Rehman | Date: | Tue, 17 Oct 2000 20:03:11 +0000 |
| Subject: | Re: Prob with Send mail using mail() | ||
| References: | 1 2 3 4 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-3314@lists.php.net to get a copy of this message | ||
The code is here
<?
$email ="msrehman@mail.com";
$subject="Hai Dear Friend";
$message="Testing PHP mail";
$headers=" ";
mail($email ,$subject,$message,$headers)
?>
AND the settings in php.ini are
SMTP = leo
sendmail_from = me@localhost.com
Plz help me