Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 3957 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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.

  • 9 months later...
Posted (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 by Guest
  • 2 months later...
Posted

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?

  • 3 years later...
Posted

SOLUTION:

Transport transport = Session.getDefaultInstance(props).getTransport("smtps");

 

NOT:

Transport transport = Session.getDefaultInstance(props).getTransport("smtp");

 

For gMail SMTP it is SMTPS

 

Works great.

  • Like 1

This topic is 3957 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.