摘要: 1.首先开启邮件传输协议SMTP协议,设定授权登陆密码。 2.添加gradle依赖:compile('org.springframework.boot:spring-boot-starter-mail') 3.自动化配置,在application.properties中配置相应的属性内容。 阅读全文
posted @ 2018-02-01 17:41 samcheng 阅读(205) 评论(0) 推荐(0)