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