Provides integration with Postmark mail service
Dependency :
compile ":postmark:0.2"
Summary
Installation
grails install-plugin postmark
Description
This plugin provides an API with almost exact parity to the Grails Mail plugin. Installing this plugin replaces the Mail plugin's sendMail method with it's own. Doing so allows use of Postmark. without changing any code in your app or in the plugins your app depends on.Postmark is a service that takes care of the problems that could happen with delivering email (spam filters, etc) and provides additional montoring for deliverability of the messages.It does not support attachments as Postmark doesn't provide that capability. If attachments are used, it will be logged as an error and continue.To install:
To configure, add to your Config.groovy:
If you wish to utilize the tagging feature of Postmark, this plugin adds a new call to the sendMail method, tag:
If any plugins in your project use the mail plugin, they will automatically be switched to use Postmark functionality instead.
grails install-plugin postmark
postmark {
apikey = "Your API Key"
}sendMail {
to "email@example.com"
tag "Registration"
}