Thursday, July 9, 2009

Give the details coding about the mail functions?

PHP

Give the details coding about the mail functions?
If you want a basic mail script try:





$to = 'nobody@example.com';


$subject = 'the subject';


$message = 'hello';


$headers = 'From: webmaster@example.com' . "\r\n" .


'Reply-To: webmaster@example.com' . "\r\n" .


'X-Mailer: PHP/' . phpversion();





mail($to, $subject, $message, $headers);








Also, the manual has more detailed info:


http://www.php.net/manual/en/function.ma...
Reply:http://www.google.com/search?hl=en%26amp;lr=%26amp;q...


No comments:

Post a Comment