|
|
|
@ -116,7 +116,7 @@ public class EmailServiceImpl implements EmailService {
|
|
|
|
|
while (count < 3) {
|
|
|
|
|
boolean result = MailUtil.sendEmail(emailConfig.getFromUser(),
|
|
|
|
|
EncryptUtils.desDecrypt(emailConfig.getPass()),
|
|
|
|
|
emailConfig.getHost(), emailConfig.getPort(), toAddress, "一次性短链", emailVo.getContent());
|
|
|
|
|
emailConfig.getHost(), emailConfig.getPort(), toAddress, emailVo.getSubject(), emailVo.getContent());
|
|
|
|
|
log.info("===================== send mail result as {} =====================", result);
|
|
|
|
|
if (result) {
|
|
|
|
|
break;
|
|
|
|
|