Navigation Menu

Skip to content

dalew75/grails-mail

 
 

Repository files navigation

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@ via the @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'
}

Please see the User Guide for more information.

The plugin is released under the Apache License 2.0 and is produced under the Grails Plugin Collective.

Issues

Issues can be raised via the Codehaus Jira.

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.