Commit 8b38b20e authored by 赵建伟's avatar 赵建伟

update codes

parent ccd5210a
......@@ -33,9 +33,9 @@ public class MailServiceImpl implements MailService{
message.setText(content);
try {
mailSender.send(message);
logger.info("简单邮件已经发送。");
logger.info("邮件已正常发送。");
} catch (Exception e) {
logger.error("发送简单邮件时发生异常!", e);
logger.error("发送邮件异常,请核实!", e);
}
}
......
......@@ -15,6 +15,6 @@ public class MailServiceTest {
@Test
public void testSimpleMail() throws Exception {
MailService.sendSimpleMail("zhaojianwei@igengmei.com","test simple mail"," hello this is simple mail");
MailService.sendSimpleMail(" hello this is simple mail");
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment