title: error when sending mail using PHPMailer
body: <p>I am getting the below error when I try to send mail </p>
  
  <pre><code>SMTP -&gt; FROM SERVER:220 mx.google.com ESMTP ej10sm2084527pdb.35 - gsmtp
  CLIENT -&gt; SMTP: EHLO localhost
  SMTP -&gt; FROM SERVER:250-mx.google.com at your service, [182.64.29.228]
  250-SIZE 35882577
  250-8BITMIME
  250-STARTTLS
  250-ENHANCEDSTATUSCODES
  250-PIPELINING
  250-CHUNKING
  250 SMTPUTF8
  CLIENT -&gt; SMTP: AUTH LOGIN
  SMTP -&gt; FROM SERVER:530 5.7.0 Must issue a STARTTLS command first. ej10sm2084527pdb.35 - gsmtp
  SMTP -&gt; ERROR: AUTH command failed: 530 5.7.0 Must issue a STARTTLS command first. ej10sm2084527pdb.35 - gsmtp
  CLIENT -&gt; SMTP: QUIT
  SMTP -&gt; FROM SERVER:221 2.0.0 closing connection ej10sm2084527pdb.35 - gsmtp
  SMTP connect() failed.
  SMTP connect() failed.
  </code></pre>