Play Framework 框架 邮件分析和总结.docxVIP

  • 0
  • 0
  • 约5.02千字
  • 约 9页
  • 2023-03-26 发布于湖北
  • 举报
使用 Play 发送邮件 Sending e-mail with Play 你可以使用 play.libs.Mail 工具类容易地发送邮件。 You can use the play.libs.Mail utility to send e-mail very easily: Mail.send(sender@zenexity.fr,recipient@zenexity.fr,S ubject,Message); Mail 和 MVC Mail and MVC integration 你还可以发送复杂的,动态的邮件,使用调准的模板和语法。 You can also send complex, dynamic e-mail using the standard templates mechanism and syntax. 首先,在你的应用中定义一个 Mail notifier,你的 mail notifier 必须是 play.mvc.Mailer 的子类,而且必须在 notifiers 文件夹中。 First, define a **Mailer notifier** in your application. Your mailer notifier must subclass **play.mvc.Mailer** and be part of the **notifiers

文档评论(0)

1亿VIP精品文档

相关文档