Sending email through Gmail SMTP using PHP
<p>I have following system setup</p>

<ul>
<li>Windows XP Service pack 2</li>
<li>WAMP 2.0 </li>
<li>PHP 5.3</li>
</ul>

<p>I've configured my <code>php.ini</code> file with the following:</p>

<pre><code>smtp=smtp.gmail.com
smtp_port=25;
</code></pre>

<p>and my PHP code is</p>

<pre><code>&lt;?php
    mail('alagar.pandi@gmail.com','test subject','test body');
?&gt;
</code></pre>

<p>The error I'm getting is</p>

<pre><code>Warning: mail() [function.mail]: SMTP server response: 
530 5.7.0 Must issue a STARTTLS command first. 
4sm389277yxd.16 in C:\wamp\www\limosbusesjets\test.php on line 5
</code></pre>

<p>Any suggestions?</p>
