title: Remove gmail warning email not verified when sending mail with PHP
body: <p>Good morning,
  I want to remove the gmail warning 'gmail couln't verify that ...@... sent this message' when I send email with php.</p>
  
  <p>I know it is because I use the email function php  that don't have authentification  so I try PHPMailer and PHP pear but the page turn and turn until the infinite and nothing is happened.
  My host is 1&amp;1. 
  I try with gmail instead smtp and account instead of 1&amp;1 but same result.</p>
  
  <pre><code>&lt;?php
      // Pear Mail Library
      require_once "Mail.php";
      $from = '&lt;***@motelavigna.co&gt;'; //change this to your email address
      $to = '&lt;***@gmail.com&gt;'; // change to address
      $subject = 'Insert subject here'; // subject of mail
      $body = "Hello world! this is the content of the email"; //content of mail
  
      $headers = array(
          'From' =&gt; $from,
          'To' =&gt; $to,
          'Subject' =&gt; $subject
      );
  
      $smtp = Mail::factory('smtp', array(
              'host' =&gt; 'auth.smtp.1and1.fr',
              'port' =&gt; '465',
              'auth' =&gt; true,
              'username' =&gt; '***@***.co', //co is not an error
              'password' =&gt; '***' // your password
          ));
  
      // Send the mail
      $mail = $smtp-&gt;send($to, $headers, $body);
  ?&gt;
  </code></pre>
  
  <p>thanks.</p>