note 111395 added to function.mail
| From: | mintusingh | Date: | Fri, 15 Feb 2013 16:29:17 +0000 |
| Subject: | note 111395 added to function.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-193646@lists.php.net to get a copy of this message | ||
you can use this for sending mail but before using this you have to change php.ini file
<?php
$email = "mytest@mytest.com"; # email address of recipient
$subject = "This is a test email"; # subject of email
$body = "This is where the text goes...";
$mail_hrd = "From: webmaster@MyWebSite.com <webmaster@MyWebSite.com;";
mail($email,$subject,$body,$mail_hdr)
?>
<a href="http://www.searchingwhat.com">thanks</a>
----
Server IP: 69.147.83.199
Probable Submitter: 116.202.189.0
----
Manual Page -- http://php.net/manual/en/function.mail.php
Edit -- https://master.php.net/note/edit/111395
Del: integrated -- https://master.php.net/note/delete/111395/integrated
Del: useless -- https://master.php.net/note/delete/111395/useless
Del: bad code -- https://master.php.net/note/delete/111395/bad+code
Del: spam -- https://master.php.net/note/delete/111395/spam
Del: non-english -- https://master.php.net/note/delete/111395/non-english
Del: in docs -- https://master.php.net/note/delete/111395/in+docs
Del: other reasons-- https://master.php.net/note/delete/111395
Reject -- https://master.php.net/note/reject/111395
Search -- https://master.php.net/manage/user-notes.php