Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow extra Session properties configured through simplejavamail.properties #279

Closed
bbottema opened this issue Jul 11, 2020 · 1 comment
Closed

Comments

@bbottema
Copy link
Owner

Currently the only way to add properties to the underlying Session instance is by using the Java api myMailer.getSession().

It would be convenient to be able to configure default extra properties through the simplejavamail.properties file:

simplejavamail.extraproperties.this.is.the.actual.property=this is the value

Real world example that will soon be supported natively by Simple Java Mail:

simplejavamail.extraproperties.mail.smtp.ssl.socketFactory.class=org.mypackage.ssl.FIPSCompatibleMailSSLSocketFactory.class
@bbottema bbottema added this to the 6.x.0 milestone Jul 11, 2020
@bbottema bbottema changed the title Allow raw Session properties to be configured through simplejavamail.properties Add support for extra Session properties configured through simplejavamail.properties Jul 11, 2020
@bbottema bbottema modified the milestones: 6.x.0, 6.3.0 Jul 11, 2020
bbottema added a commit that referenced this issue Jul 11, 2020
@bbottema bbottema changed the title Add support for extra Session properties configured through simplejavamail.properties Allow extra Session properties configured through simplejavamail.properties Jul 11, 2020
@bbottema
Copy link
Owner Author

Released in 6.3.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant