Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Eladmin
Commits
83fe8fab
Commit
83fe8fab
authored
May 11, 2019
by
zhengjie
Browse files
1.8 version
parent
a42e1ca7
Changes
1
Hide whitespace changes
Inline
Side-by-side
eladmin-tools/src/main/java/me/zhengjie/service/impl/EmailServiceImpl.java
View file @
83fe8fab
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment