note 110386 added to function.mail

From: Date: Wed, 17 Oct 2012 12:49:52 +0000
Subject: note 110386 added to function.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-191350@lists.php.net to get a copy of this message
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... ---- Server IP: 69.147.83.199 Probable Submitter: 27.34.47.160 ---- Manual Page -- http://www.php.net/manual/en/function.mail.php Edit -- https://master.php.net/note/edit/110386 Del: integrated -- https://master.php.net/note/delete/110386/integrated Del: useless -- https://master.php.net/note/delete/110386/useless Del: bad code -- https://master.php.net/note/delete/110386/bad+code Del: spam -- https://master.php.net/note/delete/110386/spam Del: non-english -- https://master.php.net/note/delete/110386/non-english Del: in docs -- https://master.php.net/note/delete/110386/in+docs Del: other reasons-- https://master.php.net/note/delete/110386 Reject -- https://master.php.net/note/reject/110386 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#191350) next »