Hi,
I've configured the Mail Plugin via Config.groovy like so:
grails.mail.host="mail.blueskyts.co.uk"
This is fine and it works, but I can't change the mail server after deploying the app as the config is deployed as a .class file.
How can I get the value of the mail server from somewhere else - a properties file?
What I want to do is something like this:
grails.mail.host="${email.server}"
and have the value for ${email.server} loaded from a properties file that can be changed after the app has been deployed.
Martin
Get Hotmail on your mobile from Vodafone
Try it Now!