SyntaxFix
Write A Post
Hire A Developer
Questions
First, make sure you PHP installation has SSL support (look for an "openssl" section in the output from phpinfo()).
phpinfo()
You can set the following settings in your PHP.ini:
ini_set("SMTP","ssl://smtp.gmail.com"); ini_set("smtp_port","465");