标签:ble framework required pid ofo cti release auth xxxx
SpringBoot 2.1.1.RELEASE 集成Email依赖配置:
<!-- mail start -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-mail</artifactId>
</dependency>
配置文件:
### mail邮件配置
spring.mail.host=smtp.xxx.com.cn
spring.mail.username=xxx@xxx.com.cn
spring.mail.password=xxxx
spring.mail.default-encoding=UTF-8
spring.mail.properties.mail.smtp.auth=true
spring.mail.properties.mail.smtp.starttls.enable=true
spring.mail.properties.mail.smtp.starttls.required=true
举例:
http://www.qchcloud.cn/system/article/show/71
SpringBoot 2.1.1.RELEASE 集成Email
标签:ble framework required pid ofo cti release auth xxxx
原文地址:http://blog.51cto.com/14042154/2330251