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?

Answer

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.

Leave a Reply

Your email address will not be published. Required fields are marked *