[修改]使用qq邮箱的域名

This commit is contained in:
sunzheng
2024-01-16 10:45:28 +08:00
parent fda6d8cab7
commit 6f89f409e4
2 changed files with 2 additions and 7 deletions
@@ -1,6 +1,5 @@
package com.jero.common.service.impl;
import cn.hutool.core.thread.ThreadUtil;
import com.alibaba.fastjson.JSONObject;
import com.jero.common.common.ProjectCommon;
import com.jero.common.constant.CommonConstant;
@@ -32,10 +31,8 @@ import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.BeanUtils;
import org.springframework.core.env.Environment;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.*;
import java.util.concurrent.ExecutorService;
@Slf4j
@Service
@@ -121,8 +118,6 @@ public class SendMessageServiceImpl implements SendMessageService {
}
email = PasswordUtil.decrypt(email);
emailPassword = PasswordUtil.decrypt(emailPassword);
// email = "1617303691@qq.com";
// emailPassword = "wflwijcpdmwvcihc";
EmailSendMsgHandle emailHandle = new EmailSendMsgHandle(email,emailPassword);
// 发送带附件邮箱emailPassword = "wflwijcpdmwvcihc"
if(!CollectionUtils.isEmpty(sendMessageDTO.getListFile())){
@@ -25,8 +25,8 @@ spring:
max-file-size: 50MB
max-request-size: 50MB
mail:
# host: smtp.qq.com
host: smtp.126.com
host: smtp.qq.com
# host: smtp.126.com
# host: smtp.qiye.163.com
username: zhangqinlin@syxysoft.com
password: Zql0000000