fix mail bug

This commit is contained in:
Looly
2019-09-26 17:22:57 +08:00
parent afbfcb4993
commit 1fa812137d
6 changed files with 139 additions and 88 deletions

View File

@@ -40,7 +40,7 @@ public class MailTest {
}
@Test
@Ignore
// @Ignore
public void sendHtmlTest() {
MailUtil.send("hutool@foxmail.com", "测试", "<h1>邮件来自Hutool测试</h1>", true);
}

View File

@@ -14,5 +14,9 @@ from = 小磊<hutool@yeah.net>
user = hutool
# 密码
pass = q1w2e3
#使用 STARTTLS安全连接
startttlsEnable = true
# 使用 STARTTLS安全连接
starttlsEnable = true
# 是否开启SSL
sslEnable = true
# 调试模式
debug = true