2011-02-09 101 views

回答

1

如果您在sendMail方法中使用html語句,插件將爲您設置內容類型。 sendMail命令可以在不需要gsp模板的情況下使用。

mailService.sendMail { 
      to "[email protected]" 
      from "[email protected]" 
      subject "Email without gsp" 
      html "some markup" 
     } 
相關問題