Sending mail in WAMP

view full story

http://serverfault.com – I'm trying to finish my contact form, but I can't send mail. I'm using the WAMP server. I configured the php.ini: [mail function] ; For Win32 only. ; http://php.net/smtp SMTP = smtp.gmail.com ; http://php.net/smtp-port Port = 465 ; For Win32 only. ; http://php.net/sendmail-from sendmail_from = {myEmail} My PHP file (just for testing) seems fine: <?php $headers = 'MIME-Version: 1.0' . '\r\n'; $headers .= 'Content-type: text/html; charset=iso-8859-1' . '\r\n'; $headers .= 'From: {myEmail}' . '\r\n'; mail("{myEmail}","test subject","test body",$headers); ?> I try to send it by going (HowTos)