Commit a5880e70 authored by ZhengJie's avatar ZhengJie
Browse files

[代码完善](v2.5): v2.5 beta update EmailServiceImpl.java

close https://github.com/elunez/eladmin/issues/391

close #391
parent 0b64ec8a
...@@ -69,6 +69,7 @@ public class EmailServiceImpl implements EmailService { ...@@ -69,6 +69,7 @@ public class EmailServiceImpl implements EmailService {
} }
// 封装 // 封装
MailAccount account = new MailAccount(); MailAccount account = new MailAccount();
account.setUser(emailConfig.getUser());
account.setHost(emailConfig.getHost()); account.setHost(emailConfig.getHost());
account.setPort(Integer.parseInt(emailConfig.getPort())); account.setPort(Integer.parseInt(emailConfig.getPort()));
account.setAuth(true); account.setAuth(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