November 16, 200916 yr Newbies Hi, I need to connect to the google smtp server with a TLS connection. When I am using: Set Variable[$result = EmailConnectSMTP( "smtp.gmail.com:465" ; "username" ; "password" ; "ssl=1" )] it does not connect. When I leave out the "ssl=1" it does connect, but with sending (using EmailSend) I get the following errormessage: 530 5.7.0 Must issue STARTTLS command first Any suggestions? Thanks in advance, Jeroen Edited November 16, 200916 yr by Guest
November 16, 200916 yr Who is your ISP? Certain ISPs will block outgoing mail and stop you from successfully connecting to smtp servers other than their own. You can connect to gmail smtp using 465 or 587, so I would also give 587 a try and see if this connection works for you. Also, have you tried these settings on a normal mail client? That is a good way to diagnose if your settings are correct and traffic is allowed through your network.
November 16, 200916 yr Author Newbies Thanks David! It works fine with Thunderbird if I mark the "TLS connection" in the SMTP server settings. If I use "SSL" in the settings for SMTP server it does not work. Within the 360Works email plugin I can only give it a SSL connection, so I guess that causes the problem? Is there any way i can define TLS in the scripts? Edited November 16, 200916 yr by Guest
November 16, 200916 yr Author Newbies smtp.gmail.com:465 with SSL works! smtp.gmail.com:587 works only with TSL Edited November 16, 200916 yr by Guest
Create an account or sign in to comment