https://github.com/codemonstur/smtpclient
https://github.com/codemonstur/smtpclient
Last synced: 12 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/codemonstur/smtpclient
- Owner: codemonstur
- License: mit
- Created: 2022-10-26T17:22:12.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-05-27T20:10:40.000Z (over 1 year ago)
- Last Synced: 2024-05-28T05:52:09.968Z (over 1 year ago)
- Language: Java
- Size: 23.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/codemonstur/smtpclient/releases)
[](http://mvnrepository.com/artifact/com.github.codemonstur/smtpclient)
[](https://opensource.org/licenses/mit-license.php)
# An SMTP client
Characteristics:
- Single dependency: javax.mail
- Pure Java
- Can deliver email directly to the Mail Exchanger of the recipient
- So you dont need to configure a mail server to send email
- Small
## Code Example
newSmtpCall()
.sender("John Doe", "johndoe@test.com")
.recipient("Mary Jane", "mary-jane@gmail.com")
.subject("A test subject")
.addBodyText("Just a test message", UTF_8)
.send();
It's in Maven Central:
com.github.codemonstur
smtpclient
1.0.1