note 110386 deleted from function.mail by danbrown

From: Date: Wed, 17 Oct 2012 21:16:50 +0000
Subject: note 110386 deleted from function.mail by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-191364@lists.php.net to get a copy of this message
Note Submitter: unknownrocks ---- while using mail function i used following codes: //which was given example on this site <?php $Name = "Da Duder"; //senders name $email = "binod_giri555@yahoo.com"; //senders e-mail adress $recipient = "unknownrocks619@gmail.com"; //recipient $mail_body = "The text for the mail..."; //mail body $subject = "Subject for reviever"; //subject $header = "From: ". $Name . " <" . $email . ">\r\n"; //optional headerfields ini_set('sendmail_from', 'me@domain.com'); //Suggested by "Some Guy" mail($recipient, $subject, $mail_body, $header); //mail command :); ?> after running it in the browser i got following error.. would any one please help me on this...

« previous php.notes (#191364) next »