Skip to content

digerata/grails-postmark

Repository files navigation

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.

About

Grails plugin for using Postmarkapp.com's mail service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published