You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Performance: Add default DKIM configuration to MailerBuilder and performance improvement #196
There's something to be said for avoiding a performance hit by moving the DKIM construction to the MailerBuilder so this is done only once rather than for each separate email.
I've refactored the library a little bit so that there now is a special config group on the Mailer level. Email validation criteria moved there and I've added default S/MIME signing in there as well. Next step would be to finally add default DKIM signing in there as well. Will work on this soon.
changed the title [-]Consider moving the DKIM configuration from EmailBuilder to MailerBuilder[/-][+]Add default DKIM configuration to MailerBuilder and performance improvement[/+]on Jun 1, 2021
changed the title [-]Add default DKIM configuration to MailerBuilder and performance improvement[/-][+]Performance: Add default DKIM configuration to MailerBuilder and performance improvement[/+]on Feb 23, 2023
Default DKIM signing can now be configured once on the MailerBuilder, so individual emails no longer need to rebuild or carry the same DKIM configuration unless they intentionally override it.
Email-specific DKIM still wins when an email calls signWithDomainKey(...), and property-driven DKIM remains available through simplejavamail.dkim.signing.*.
Activity
bbottema commentedon Jun 1, 2021
I've refactored the library a little bit so that there now is a special config group on the Mailer level. Email validation criteria moved there and I've added default S/MIME signing in there as well. Next step would be to finally add default DKIM signing in there as well. Will work on this soon.
[-]Consider moving the DKIM configuration from EmailBuilder to MailerBuilder[/-][+]Add default DKIM configuration to MailerBuilder and performance improvement[/+][-]Add default DKIM configuration to MailerBuilder and performance improvement[/-][+]Performance: Add default DKIM configuration to MailerBuilder and performance improvement[/+]bbottema commentedon Jul 4, 2026
Fixed by
0eb14398.Default DKIM signing can now be configured once on the
MailerBuilder, so individual emails no longer need to rebuild or carry the same DKIM configuration unless they intentionally override it.Email-specific DKIM still wins when an email calls
signWithDomainKey(...), and property-driven DKIM remains available throughsimplejavamail.dkim.signing.*.feat: add mailer-level default DKIM signing
bbottema commentedon Jul 8, 2026
Released in Simple Java Mail v9.0.0, which is now available from Maven Central:
https://repo1.maven.org/maven2/org/simplejavamail/simple-java-mail/9.0.0/
Release notes:
https://github.com/bbottema/simple-java-mail/releases/tag/9.0.0