bug--修复个人中心修改密码报错

This commit is contained in:
taochengbo
2020-05-24 19:49:47 +08:00
parent dc3d510029
commit 9e710955ca
3 changed files with 7 additions and 5 deletions

View File

@ -79,6 +79,8 @@ public class EmailConfigServiceImpl extends BaseServiceImpl<EmailConfigMapper, E
account.setFrom(emailConfig.getUser()+"<"+emailConfig.getFromUser()+">");
// ssl方式发送
account.setSslEnable(true);
// 使用STARTTLS安全连接
account.setStarttlsEnable(true);
String content = emailVo.getContent();
// 发送
try {