title: PHP mail() with ssmtp
body: <p>I have a very peculiar problem... I have a Ubuntu Server 12.04 with LAMP installed and ssmtp installed and configured properly.
  Now I can send mails from my system(P.C), but when i upload my project to a web host(DigitalOcean)  my gmail sends me notification telling "Suspicious login detected and has been blocked , please change password" .</p>
  
  <p>This is my ssmtp.conf</p>
  
  <pre><code>#
  # Config file for sSMTP sendmail
  #
  # The person who gets all mail for userids &lt; 1000
  # Make this empty to disable rewriting.
  root=xyz@gmail.com
  
  # The place where the mail goes. The actual machine name is required no 
  # MX records are consulted. Commonly mailhosts are named mail.domain.com
  mailhub=smtp.gmail.com:587
  
  # Where will the mail seem to come from?
  #rewriteDomain=
  
  # The full hostname
  hostname=xyz@gmail.com
  
  # Are users allowed to set their own From: address?
  # YES - Allow the user to specify their own From: address
  # NO - Use the system generated From: address
  FromLineOverride=YES
  
  UseSTARTTLS=YES
  AuthUser=xyz@gmail.com
  AuthPass=xyz
  </code></pre>
  
  <p>And DigitalOcean server is located in shanghai,china and i am in india. How do i make it work ??? </p>