https://github.com/fathzer/mail-sender
A minimalist java mail client API to send emails through external SMTP server.
https://github.com/fathzer/mail-sender
Last synced: 6 months ago
JSON representation
A minimalist java mail client API to send emails through external SMTP server.
- Host: GitHub
- URL: https://github.com/fathzer/mail-sender
- Owner: fathzer
- License: apache-2.0
- Created: 2023-01-19T13:09:15.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-21T09:33:09.000Z (over 3 years ago)
- Last Synced: 2025-07-13T11:23:35.176Z (12 months ago)
- Language: Java
- Size: 72.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mail-sender
A minimalist java mail client API to send emails through external SMTP server.
[](https://maven-badges.herokuapp.com/maven-central/com.fathzer/mail-sender)

[](https://sonarcloud.io/summary/new_code?id=fathzer_mail-sender)
[](https://javadoc.io/doc/com.fathzer/mail-sender)
# 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"));
```