Skip to content

Latest commit

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

README
======
This library allows you to leverage the Postmark REST API to send emails.
Example usage:
List<NameValuePair> headers = new ArrayList<NameValuePair>();
headers.add(new NameValuePair("HEADER", "test"));
PostmarkMessage message = new PostmarkMessage("TO_ADDRESS",
"FROM_ADDRESS",
"REPLY_TO_ADDRESS",
null,
"SUBJECT",
"CONTENT",
false,
null,
headers);
PostmarkClient client = new PostmarkClient("POSTMARK_API_TEST");
try {
client.sendMessage(message);
} catch (PostmarkException pe) {
System.out.println("An error has occured : " + pe.getMessage());
}
Dependencies:
All dependencies are included in the lib folder

About

Postmark API wrapper for Java

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages