title: PHP mail() function sucess, but didn't receive any email
body: <p>I'm try to sent email by my localhost php, but the problem is i didn't receive anything in my email, what should i configure?</p>
  
  <p>Here is my code</p>
  
  <pre><code>$to="someone@gmail.com";
  $name="jason";
  $subject="test message";
  $header="From: $name";
  $message="blah blah blah";
  $sentmail=mail($to,$subject,$message,$header);
  
  echo $sentmail ? "email send" : "email send fail"?
  </code></pre>
  
  <p>as the result was "email send"</p>