-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't send Message with view from quartz job (Grails 3.1.3) #14
Comments
I have the same Problem on Grails 3.1.3! Have you found any workaround yet? |
Unfortunately not, the plugin developer does not respond to errors :( |
I find workaround! |
I had this same issue when sending an email from a JMS listener. I was able to workaround it without needing to set the grails.serverURL. I injected the groovyPageRenderer and rendered the email template myself and passed the string value to the html parameter of the sendMail closure. Below is an example of how I was able to accomplish it with some hand waving (I am obviously missing all of the jms annotations and static methods)
|
There may still be an issue in war deployments. Looks like it is looking for gsp files under: '/WEB-INF/grails-app/views' when the files are located in '/WEB-INF/classes' |
Created a PR for this: #24 |
PR #24 was merged. Closing this issue |
With 3.1.0 it's all ok.
The text was updated successfully, but these errors were encountered: