Closed zoran119 closed 2 years ago
I've seen the same behavior after migrating to v 1.0.7 of the mail plugin. I though it was related to the async configuration but it's not. I'm also looking for a solution to this.
Did someone found a solution or a workaround for this issue?
I've noticed that the grailsApplication
is available till version 1.0.4 and missing starting from version 1.0.5.
Unfortunately, version 1.0.4 of mail plugin is not compatible with grails 2.4.x or 2.5.x and I'm stuck in updating my application.
I have just upgraded mail plugin in my application from
1.0.1
to1.0.7
and am now gettingNullPointerException
when the mail plugin tries to render HTML emails fromgsp
files which use<g:message>
orgrailsApplication
in them.Should this be working?
This is my
sendMail
code:And this is
best.gsp
:Filtered stacktrace: