I'm sure there is a very easy answer to this but how do I include a line break within the grails ant mail. I am using the format below, and i've tried closing the quotes and using /n, HTML break tags, nothing seems to work.
ant.mail(mailho开发者_JS百科st:'x', mailport:'x', subject:'Test'){
from(address:"x")
replyto(address:"x")
to(address:"x")
message("Test")
You may forget to set the option to allow html tag:
message(mimetype:"text/html", "Your content")
精彩评论