1.pom 文件引入依赖 2.application.properties 文件配置邮件信息 3.邮件发送接口编写 4.实现邮件接口a. 简单邮件发送 2.html 邮件发送 c.带附件邮件发送 d.静态资源邮件发送 使用模板发送邮件(需要导入模板引擎)1.构建模板 ftl 文件 2.注入