Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where to find all available Java mail properties?

Where do I find a list of all available Java mail properties that I can pass to the Session object? I am only able to find basic properties in the API. Browsing blogs to find some more properties isn't good. There must be some list somewhere?

like image 987
LuckyLuke Avatar asked May 16 '13 18:05

LuckyLuke


People also ask

What is SMTP socketFactory port?

mail.smtp.ssl.socketFactory.port. int. Specifies the port to connect to when using the specified socket factory. If not set, the default port will be used. mail.smtp.ssl.protocols.


1 Answers

In the api is a reference to the properties for the specific sun protocol providers. Not sure if you were looking for these:

  • https://javaee.github.io/javamail/docs/api/com/sun/mail/imap/package-summary.html
  • https://javaee.github.io/javamail/docs/api/com/sun/mail/pop3/package-summary.html
  • https://javaee.github.io/javamail/docs/api/com/sun/mail/smtp/package-summary.html

These are also set on the session object but you use them on your own risk since in other mail implementations they are maybe not supported or they change in the future.

like image 65
mszalbach Avatar answered Sep 25 '22 09:09

mszalbach