Digitalbrit Posted March 27, 2009 Share Posted March 27, 2009 I sent this email using ScriptMaster Link to comment Share on other sites More sharing options...
Digitalbrit Posted March 27, 2009 Author Share Posted March 27, 2009 Hmmm ... having searched I can see the STARTTSL is to do with secure sockets. Sure enough my Mac Mail settings confirm I am using Port25 and Use SSL with Password authentication. Is it possible to use the Scriptmaster function with SSL - if so how? Now I'm really out of my depth. Link to comment Share on other sites More sharing options...
jasonwood Posted January 10, 2010 Share Posted January 10, 2010 (edited) I had the same problem when trying to send through GMAIL. I added this line of code and it worked: props.put("mail.smtp.starttls.enable","true"); Edited January 10, 2010 by Guest Link to comment Share on other sites More sharing options...
Bob Schwenkler Posted April 5, 2010 Share Posted April 5, 2010 Hi, I'm working on figuring this same issue out, and no luck with the above line of code, or at least I might not be inserting it at the correct spot. Does anyone have this working with Gmail? Link to comment Share on other sites More sharing options...
neocodesoftware Posted February 4, 2014 Share Posted February 4, 2014 SOLUTION: Transport transport = Session.getDefaultInstance(props).getTransport("smtps"); NOT: Transport transport = Session.getDefaultInstance(props).getTransport("smtp"); For gMail SMTP it is SMTPS Works great. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 3727 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