|
@@ -0,0 +1,9 @@
|
|
|
|
+### 注意
|
|
|
|
+发送html文件使用spring Thymeleaf 模板引擎
|
|
|
|
+### 配置例:
|
|
|
|
+spring.mail.host=smtp.exmail.qq.com
|
|
|
|
+spring.mail.port=465
|
|
|
|
+spring.mail.username=4Dkankan@4dage.com
|
|
|
|
+spring.mail.password=
|
|
|
|
+spring.mail.properties.mail.socketFactory.port=465
|
|
|
|
+spring.mail.properties.mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory
|