title: SMTP server response: 530 5.7.0 Must issue a STARTTLS command first
body: <p>SMTP server response: 530 5.7.0 Must issue a STARTTLS command first</p>
  
  <p>I get this error message when i use mail() function in php script file...</p>
  
  <p>I m using gmail SMTP server and gmail using STARTTLS which is secure SSL 
  and i already use these commands in my contact.php file</p>
  
  <pre><code>ini_set("SMTP","smtp.gmail.com");
  ini_set("sendmail_from","&lt;email-address&gt;@gmail.com&gt;");
  </code></pre>
  
  <p>so what command i can use to enable STARTTLS or configure in php,ini file??</p>