2021
05-02
05-02
SpringBoot+JavaMailSender实现腾讯企业邮箱配置
1.引入spring-boot-starter-mail依赖包<dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-mail</artifactId></dependency>2.在application.yml配置邮箱基本信息 spring:mail:host:smtp.exmail.qq.comport:465username:xxx@xx.compassword:xxxxprotocol:smtpproperties:mail:smtp:...
继续阅读 >