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?
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.
In the api is a reference to the properties for the specific sun protocol providers. Not sure if you were looking for these:
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With