Newbies jeroenvdpol Posted November 16, 2009 Newbies Share Posted November 16, 2009 (edited) 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, 2009 by Guest Link to comment Share on other sites More sharing options...
Smef Posted November 16, 2009 Share Posted November 16, 2009 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. Link to comment Share on other sites More sharing options...
Newbies jeroenvdpol Posted November 16, 2009 Author Newbies Share Posted November 16, 2009 (edited) 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, 2009 by Guest Link to comment Share on other sites More sharing options...
Newbies jeroenvdpol Posted November 16, 2009 Author Newbies Share Posted November 16, 2009 (edited) smtp.gmail.com:465 with SSL works! smtp.gmail.com:587 works only with TSL Edited November 16, 2009 by Guest Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 5281 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now