Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions src/docs/guide/2.3 Other Configuration.gdoc
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,26 @@ An alternative to disabling email or using something like the "greenmail plugin"
{code}
grails.mail.overrideAddress = "[email protected]"
{code}

h3. GSP Configuration

If you're using GSP views to render HTML emails, you will need to configure the GSP plugin.

GSP was previously part of Grails core, but since version 3.3 it is an independent Grails plugin that can be used by defining the following dependency in your build.gradle:

build.gradle

{code}
dependencies {
...
implementation "org.grails.plugins:gsp:5.0.1"
}
{code}

In addition for production compilation you should apply the grails-gsp Gradle plugin:

build.gradle

{code}
apply plugin:"org.grails.grails-gsp"
{code}