mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-20 18:15:56 +08:00
Pre Merge pull request !427 from Heming9/5.X
This commit is contained in:
commit
e7998e32d5
@ -151,6 +151,8 @@ mail:
|
|||||||
timeout: 0
|
timeout: 0
|
||||||
# Socket连接超时值,单位毫秒,缺省值不超时
|
# Socket连接超时值,单位毫秒,缺省值不超时
|
||||||
connectionTimeout: 0
|
connectionTimeout: 0
|
||||||
|
# 开启调试,调试模式会显示与邮件服务器通信过程
|
||||||
|
debug: true
|
||||||
|
|
||||||
--- # sms 短信 支持 阿里云 腾讯云 云片 等等各式各样的短信服务商
|
--- # sms 短信 支持 阿里云 腾讯云 云片 等等各式各样的短信服务商
|
||||||
# https://wind.kim/doc/start 文档地址 各个厂商可同时使用
|
# https://wind.kim/doc/start 文档地址 各个厂商可同时使用
|
||||||
|
|||||||
@ -154,6 +154,8 @@ mail:
|
|||||||
timeout: 0
|
timeout: 0
|
||||||
# Socket连接超时值,单位毫秒,缺省值不超时
|
# Socket连接超时值,单位毫秒,缺省值不超时
|
||||||
connectionTimeout: 0
|
connectionTimeout: 0
|
||||||
|
# 开启调试,调试模式会显示与邮件服务器通信过程
|
||||||
|
debug: false
|
||||||
|
|
||||||
--- # sms 短信 支持 阿里云 腾讯云 云片 等等各式各样的短信服务商
|
--- # sms 短信 支持 阿里云 腾讯云 云片 等等各式各样的短信服务商
|
||||||
# https://wind.kim/doc/start 文档地址 各个厂商可同时使用
|
# https://wind.kim/doc/start 文档地址 各个厂商可同时使用
|
||||||
|
|||||||
@ -26,6 +26,7 @@ public class MailConfig {
|
|||||||
account.setFrom(mailProperties.getFrom());
|
account.setFrom(mailProperties.getFrom());
|
||||||
account.setUser(mailProperties.getUser());
|
account.setUser(mailProperties.getUser());
|
||||||
account.setPass(mailProperties.getPass());
|
account.setPass(mailProperties.getPass());
|
||||||
|
account.setDebug(mailProperties.getDebug());
|
||||||
account.setSocketFactoryPort(mailProperties.getPort());
|
account.setSocketFactoryPort(mailProperties.getPort());
|
||||||
account.setStarttlsEnable(mailProperties.getStarttlsEnable());
|
account.setStarttlsEnable(mailProperties.getStarttlsEnable());
|
||||||
account.setSslEnable(mailProperties.getSslEnable());
|
account.setSslEnable(mailProperties.getSslEnable());
|
||||||
|
|||||||
@ -66,4 +66,9 @@ public class MailProperties {
|
|||||||
* Socket连接超时值,单位毫秒,缺省值不超时
|
* Socket连接超时值,单位毫秒,缺省值不超时
|
||||||
*/
|
*/
|
||||||
private Long connectionTimeout;
|
private Long connectionTimeout;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设置是否打开调试模式,调试模式会显示与邮件服务器通信过程,默认不开启
|
||||||
|
*/
|
||||||
|
private Boolean debug;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user