mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix mail bug
This commit is contained in:
@@ -40,7 +40,7 @@ public class MailTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
// @Ignore
|
||||
public void sendHtmlTest() {
|
||||
MailUtil.send("hutool@foxmail.com", "测试", "<h1>邮件来自Hutool测试</h1>", true);
|
||||
}
|
||||
|
@@ -14,5 +14,9 @@ from = 小磊<hutool@yeah.net>
|
||||
user = hutool
|
||||
# 密码
|
||||
pass = q1w2e3
|
||||
#使用 STARTTLS安全连接
|
||||
startttlsEnable = true
|
||||
# 使用 STARTTLS安全连接
|
||||
starttlsEnable = true
|
||||
# 是否开启SSL
|
||||
sslEnable = true
|
||||
# 调试模式
|
||||
debug = true
|
Reference in New Issue
Block a user