2011-02-09 98 views

回答

1

如果您在sendMail方法中使用html语句,插件将为您设置内容类型。 sendMail命令可以在不需要gsp模板的情况下使用。

mailService.sendMail { 
      to "[email protected]" 
      from "[email protected]" 
      subject "Email without gsp" 
      html "some markup" 
     } 
相关问题