master
james.zhao 6 years ago
parent 9b9ee268e2
commit 9c2c2222a1

@ -248,7 +248,9 @@ public class MailServiceImp implements MailService {
Key aesKey = AESCrypt.fromKeyString(Base64.decodeBase64(settleAESKey));
String mailPwd = new String(AESCrypt.decrypt(Base64.decodeBase64(mailPwdEncrypted), aesKey), StandardCharsets.UTF_8);
noticeBean.setPassword(mailPwd);
noticeBean.setAttachFiles(attachFiles);
if(attachFiles!=null){
noticeBean.setAttachFiles(attachFiles);
}
String postUrl = mailHost + "/mail/single?" + generateMailSignParam();
HttpRequestResult result = null;
try {

Loading…
Cancel
Save