title: php email is not moving to my personal mail (google, yahoo)
body: <p>i am facing a problem that i am sending a mail from my php form is showing that message sent but it is not reflecting in my personal mail. i ve been searching for the solution find simple email form, even i can't get the exact solution. if anybody knows the solution kindly share and help.</p>
  
  <pre><code>&lt;?php
  function spamcheck($field)
    {
      $field=filter_var($field, FILTER_SANITIZE_EMAIL);
      if(filter_var($field, FILTER_VALIDATE_EMAIL))
      {
      return TRUE;
      }
    else
      {
      return FALSE;
      }
    }
  
  if (isset($_REQUEST['email']))
    {
    $mailcheck = spamcheck($_REQUEST['email']);
    if ($mailcheck==FALSE)
      {
      echo "Invalid input";
      }
    else
      {
      $email = $_REQUEST['email'] ;
      $subject = $_REQUEST['subject'] ;
      $message = $_REQUEST['message'] ;
      mail("someone@gmail.com", "Subject: $subject",
      $message, "From: $email" );
      echo "Thank you for using our mail form";
      }
    }
  else
    {
    echo "&lt;form method='post' action='mailform.php'&gt;
    Email: &lt;input name='email' type='text'&gt;&lt;br&gt;
    Subject: &lt;input name='subject' type='text'&gt;&lt;br&gt;
    Message:&lt;br&gt;
    &lt;textarea name='message' rows='15' cols='40'&gt;
    &lt;/textarea&gt;&lt;br&gt;
    &lt;input type='submit'&gt;
    &lt;/form&gt;";
    }
  ?&gt;
  </code></pre>