Commit 83fe8fab authored by zhengjie's avatar zhengjie
Browse files

1.8 version

parent a42e1ca7
...@@ -77,10 +77,9 @@ public class EmailServiceImpl implements EmailService { ...@@ -77,10 +77,9 @@ public class EmailServiceImpl implements EmailService {
/** /**
* 发送 * 发送
*/ */
new MailAccount();
try { try {
Mail.create(account) Mail.create(account)
.setTos(String.valueOf(emailVo.getTos())) .setTos(emailVo.getTos().toArray(new String[emailVo.getTos().size()]))
.setTitle(emailVo.getSubject()) .setTitle(emailVo.getSubject())
.setContent(content) .setContent(content)
.setHtml(true) .setHtml(true)
......
Supports Markdown
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