php mail function

Posted by Yang on Stack Overflow See other posts from Stack Overflow or by Yang
Published on 2010-05-03T09:25:36Z Indexed on 2010/05/03 9:38 UTC
Read the original article Hit count: 177

Filed under:
|
<?php
$sendto = "[email protected]";
$subject = "email confirmation"; // Subject 
$message = "the body of the email - this email is to confirm etc...";
# send the email 
mail($sendto, $subject, $message);
?>

this is the code that i wrote to test mail function on localhost. i have ran the script in browser for several times and still dun receive any email in my mail box.

Do I need any additional configurations?

thx in advance!

© Stack Overflow or respective owner

Related posts about php

Related posts about email