send mail from localhost computer
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/712392/send-email-using-gmail-smtp-server-from-php-page">Send email using GMail SMTP server from PHP page</a>  </p>
</blockquote>



<p>Mail not sending even below things are added in the php.ini, I would like to know, Is there any thing else  should i enable in my PC php.ini,</p>

<pre><code>[mail function]
; For Win32 only.
SMTP = smtp.gmail.com
smtp_port = 465
</code></pre>

<p><strong>As well enabled the php_openssl.</strong></p>

<p>While executing PHP code, system, no output as well execution not halted.</p>

<blockquote>
  <p>FYI: i don't want to go with php mailer.</p>
</blockquote>
