Skip to content

fathzer/mail-sender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mail-sender

A minimalist java mail client API to send emails through external SMTP server.

Maven Central License Quality Gate Status javadoc

mail-sender

A minimalist java mail client API to send emails through external SMTP server.

The library is distributed through Maven (see badge above).

It requires java 8+.

Here is an example using GMail

Mailer mailer = new MailerBuilder("smtp.gmail.com").withAuthentication("me@gmail.com", "anapppassword").build();
mailer.send(new EMail(Recipients.to("other@hisdomain.com"), "test", "This is a test from Google"));

About

A minimalist java mail client API to send emails through external SMTP server.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages