Hi all,
I wants to know how can i configure grails mail plugin with datas which comes from my data base.
I tried:
mailService.sendMail {
from Parameters.findByName("MAIL_FROM").value
host Parameters.findByName("MAIL_HOST").value
to "[email protected]"
subject "my subject"
body "Hello world"
}
...but it doesn't work.
Thx