DKIM for JavaMail Open Source Library E-Mail
Geschrieben von Florian Sager   
Sonntag, 30. November 2008

If you're looking for an open source Java library that allows you to sign your SMTPMessage Objects in JavaMail with DKIM just before calling Transport.sendMessage(...) you found the right website.


DKIM for JavaMail is a small JAR (Apache Licence, Version 2.0) that can be easily implemented in existing Java projects using JavaMail for sending emails.


Basic usage example

DKIMSigner dkimSigner = new DKIMSigner(<signingDomain>, <selector>, <privateKey>);
Message msg = new SMTPDKIMMessage(session, dkimSigner);
// fill the message here
transport.sendMessage(msg, msg.getAllRecipients());



Download at


Your Feedback in the sourceforge forums is highly appreciated.


First steps after downloading

See README.txt and some implementation examples in test/


Related Links

DKIM Reputation Project - Reduce your false positives in spam filtering

DKIM Connector - Simplify your DKIM configuration - Look for DKIM implementations

Sun JavaMail API




TrustedSpace Offsite-Backup
Joomla Templates