Skip to content

gpc/grails-mail

Repository files navigation

Grails Mail Plugin

Maven Central Java CI

The Grails Mail Plugin provides a convenient Domain-Specific Language (DSL) for sending email, supporting features such as plain text, HTML, attachments, inline resources and i18n (internationalization), among others.

Email can be sent using the mailService.sendMail method. Here's 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

Versions

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

Issues

Issues can be raised via GitHub Issues.

Contributing

Pull requests are the preferred way to submit contributions. Before submitting, please create an issue using the issue tracker, outlining the problem your contribution addresses.

For documentation contributions, creating an issue is not required.