I'm trying to set up a mail server using gmail. So far after modifying code in C:\wamp\bin\apache\apache2.2.22\bin\php.ini. It hangs the page and just loads the browser. I have read that it has to be used with PHPmailer but I don't know how to. Please help me how to set up mail server.
[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = smtp.gmail.com
; http://php.net/smtp-port
smtp_port = 465
; For Win32 only.
; http://php.net/sendmail-from
sendmail_from = myemail@gmail.com
;you@yourdomain