Skip to content

mzgubin/jcabi-email

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Made By Teamed.io DevOps By Rultor.com

Build Status Maven Central

More details are here: email.jcabi.com

It is an object-oriented email sending SDK for Java:

Postman postman = new Postman.Default(
  new SMTP("smtp.googlemail.com", 465, "username", "password")
);
postman.send(
  new Envelope.MIME()
    .with(new StSender("Yegor Bugayenko <[email protected]>"))
    .with(new StRecipient("Jeff Lebowski", "[email protected]"))
    .with(new StSubject("dude, how are you?"))
    .with(new StBCC("[email protected]"))
    .with(new EnPlain("Hi, long time no see! :) Check my pic!"))
    .with(
      new EnBinary(
        new File("/tmp/picture.gif"),
        "my-picture.gif",
        "image/gif"
      )
    )
);

Questions?

If you have any questions about the framework, or something doesn't work as expected, please submit an issue here.

How to contribute?

Fork the repository, make changes, submit a pull request. We promise to review your changes same day and apply to the master branch, if they look correct.

Please run Maven build before submitting a pull request:

$ mvn clean install -Pqulice

About

Object-Oriented Email Sending Java SDK

Resources

License

Stars

Watchers

Forks

Packages

No packages published