Skip to content

ryanjustus/SimpleMail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimpleMail

Simple wrapper for javax.mail. Supports attachments, multiple recipients. I wrote this because I needed to be able to construct an email with an attachment from a byte array and reference the attachment in the html content of the email.

Basic Usage:

SimpleMail myMail = new SimpleMail("smtp.gmail.com",465,"myUsername","myPassword");
myMail.setFrom("[email protected]");
myMail.addRecipient("[email protected]");
myMail.setSubject("Test SimpleEmail");
myMail.setBody("this is the body that I am testing");
myMail.sendMail();

About

Simple wrapper for javax.mail. Supports attachments, multiple recipients

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages