title: php mail function
body: <pre><code>&lt;?php
  $sendto = "account@gmail.com";
  $subject = "email confirmation"; // Subject 
  $message = "the body of the email - this email is to confirm etc...";
  # send the email 
  mail($sendto, $subject, $message);
  ?&gt;
  </code></pre>
  
  <p>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.</p>
  
  <p>Do I need any additional configurations?</p>
  
  <p>thx in advance!</p>