How do I send email over SMTP with SSL using Java client?

Posted by Ido on Stack Overflow See other posts from Stack Overflow or by Ido
Published on 2009-08-17T11:28:39Z Indexed on 2010/05/23 7:50 UTC
Read the original article Hit count: 325

Filed under:
|
|
|

I need to send email over smtp with ssl using java client. I'm not sure how to do that.

  1. If I have my server certificate installed on my Windows machine, how do I use it?
  2. If I want it to work on a non-Windows machine, do I need to get the certificates in a different way?

BTW: If the SMTP server that I use is using SSL, can I be sure that it will send the mail to the recipient using SSL?

© Stack Overflow or respective owner

Related posts about java

Related posts about security