Grails plugin for using Postmarkapp.com's mail service
Groovy Gosu
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.settings
docs/gapi
grails-app
scripts
src/groovy/grails/plugins/postmark
test/unit/org/grails/mail
.classpath
.gitignore
.project
LICENSE.txt
PostmarkGrailsPlugin.groovy
README
application.properties

README

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.

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:
    grails install-plugin postmark

To configure, add to your Config.groovy:

    postmark {
        apikey = "Your API Key"
    }

If you wish to utilize the tagging feature of Postmark, this plugin adds a new call to the sendMail method, tag:
	
	sendMail {
		to "email@example.com"
		tag "Registration"
	}

If any plugins in your project utilize the mail plugin, they will automatically be switched to use postmark functionality instead.