php mail function
<p>I have a form in my web site. When user enters data it should reach to my gmail  id. I tried many things but it is not working.</p>

<p><a href="http://pastebin.com/xABBduyB" rel="nofollow">http://pastebin.com/xABBduyB</a></p>

<p>This is the settings in php.ini</p>

<pre><code>SMTP = smtp.gmail.com
sendmail_from = myname@gmail.com
SMTP_PORT = 465
</code></pre>

<p>Any help would be appreciated.</p>
