mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
fix test
This commit is contained in:
parent
6f4d1f6431
commit
2cedffa492
@ -47,10 +47,11 @@ public class MailAccountTest {
|
||||
mailAccount.setAuth(true);
|
||||
mailAccount.setSslEnable(true);
|
||||
|
||||
Mail mail = Mail.create(mailAccount).setTos("xx@xx.com");
|
||||
mail.setTitle("邮箱验证");
|
||||
mail.setContent("您的验证码是:<h3>2333</h3>");
|
||||
mail.setHtml(true);
|
||||
Mail mail = Mail.create(mailAccount)
|
||||
.setTos("xx@xx.com")
|
||||
.setTitle("邮箱验证")
|
||||
.setContent("您的验证码是:<h3>2333</h3>")
|
||||
.setHtml(true);
|
||||
|
||||
mail.send();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user