[修改]使用qq邮箱的域名
This commit is contained in:
-5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user