title: How To Send Emails Using Google SMTP Server Using XAMPP?
body: <p>In php.ini I set:</p>
  
  <pre><code>SMTP = smtp.gmail.com
  smtp_port = 465
  
  ; For Win32 only.
  ; http://php.net/sendmail-from
  sendmail_from = mygmail@gmail.com
  </code></pre>
  
  <p>In my sendmail.ini:</p>
  
  <pre><code>smtp_server=smtp.gmail.com
  smtp_ssl=ssl
  auth_username=mygmail@gmail.com
  auth_password=mygmail password
  </code></pre>
  
  <p>In my error log:</p>
  
  <pre><code>13/05/18 23:33:30 : Socket Error # 10060&lt;EOL&gt;Connection timed out.
  </code></pre>
  
  <p>The email actually sent twice, but 99% of the time, I get the same error as above. I disabled my router's SPI, and my computer's firewall. Any ideas?</p>