I'm having trouble setting up the smtp module to work with gmail. The following are the settings and errors I have received. Any help would be appreciated.
SMTP Server: tls://smtp.gmail.com
Port: 465
SMTP Authentication
Username and Password entered
Error message:
* warning: fsockopen() expects parameter 2 to be long, string given in C:\xampp\htdocs\drupal\modules\smtp\smtp.module on line 1966.
* warning: fsockopen() [function.fsockopen]: unable to connect to :465 (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. ) in C:\xampp\htdocs\drupal\modules\smtp\smtp.module on line 1966.
Comments
Comment #1
oadaeh commentedIf I'm understanding you correctly, I'm guessing the problem is the "tls://" in the server field. Change it to be just "smtp.gmail.com".
Comment #2
akalata commented