ruoyi-common/src/main/java/com/ruoyi/common/utils/TencentMailUtil.java
@@ -96,8 +96,12 @@ //发送邮件 Transport.send(message); } catch (MessagingException | UnsupportedEncodingException e) { e.printStackTrace(); log.error("发送邮件发生异常",e); throw new ServiceException("发送邮件失败,请检查"); }catch (Exception e){ e.printStackTrace(); log.error("发送邮件发生异常",e); } }