The mavericksoft's Email library
Just include the follow in your pom.xml:
- Under the repositories tag:
<repository>
<id>mail-mvn-repo</id>
<url>https://raw.github.com/vberihuete/MailLib/master/</url>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
- Under the dependencies tag:
<dependency>
<groupId>com.mavericksoft</groupId>
<artifactId>mail</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
you can:
- Use the
SimpleEmailMessage
class, wich gives you a basic implementation of the library. - Do your own implementation (or implementations) of the abstract
EmailMessage
class.