Skip to content

grails/grails-mail

 
 

Repository files navigation

Important!

Grails Mail plugin is now maintained under the Grails Plugin Collective

Grails Mail Plugin

Maven Central Java CI

About

The Grails mail plugin provides a convenient DSL for sending email. It supports plain text, html, attachments, inline resources and i18n among other features.

Mail can be sent using the mailService.sendMail method. Here is an example…

mailService.sendMail {
   to 'fred@gmail.com', 'ginger@gmail.com'
   from 'john@gmail.com'
   cc 'marge@gmail.com', 'ed@gmail.com'
   bcc 'joe@gmail.com'
   subject 'Hello John'
   text 'this is some text'
}

Documentation

Latest documentation and snapshots are available.

Versions

Branch Grails Version
1.x 2
2.x 3
3.x 4-5
4.x 6

Issues

Issues can be raised via GitHub Issues.

Contributing

Pull requests are the preferred method for submitting contributions. Please open an issue via that issue tracker link above and create an issue describing what your contribution addresses.

If you are contributing documentation, raising an issue is not necessary.