title: Mail sent , But not receiving in mail inbox
body: <pre><code>&lt;?php
  $to="emailid@domain.com";
  $subject="A subject";
  $message="this is a message for u AAAAAA";
  $from="myemailid@domain.com";
  $header="from:".$from;
  if($mailInfo=mail($to,$subject,$message,$header)){
  echo $mailInfo;
  echo "\n mail sent";
  }
  else{echo "mail not sent";}
  ?&gt;
  
  //Output   1
  //         mail sent 
  </code></pre>
  
  <p>The output of <code>$mailInfo</code> is producing <code>1</code> and it is also echoing "mail sent"
  But I cannot receive email in my inbox and spam as well .. </p>