Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
sentinel
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
曲欣亮
sentinel
Commits
5537bac1
Commit
5537bac1
authored
Jan 11, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
7e909101
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
EmailServiceImpl.java
...ava/com/egolm/film/api/service/impl/EmailServiceImpl.java
+1
-1
application-pro.properties
src/main/resources/application-pro.properties
+1
-1
No files found.
src/main/java/com/egolm/film/api/service/impl/EmailServiceImpl.java
View file @
5537bac1
...
...
@@ -52,7 +52,7 @@ public class EmailServiceImpl implements EmailService {
new
Thread
()
{
public
void
run
()
{
try
{
MailUtil
.
sendBySmtp
(
host
,
port
,
is_auth
,
username
,
password
,
from
,
subject
,
content
,
null
,
StringUtil
.
isNotBlank
(
testEmail
)
?
testEmail
:
email
);
MailUtil
.
sendBySmtp
s
(
host
,
port
,
is_auth
,
username
,
password
,
from
,
subject
,
content
,
null
,
StringUtil
.
isNotBlank
(
testEmail
)
?
testEmail
:
email
);
record
.
setSend_state
(
1
);
}
catch
(
Exception
e
)
{
record
.
setSend_state
(
2
);
...
...
src/main/resources/application-pro.properties
View file @
5537bac1
...
...
@@ -12,7 +12,7 @@ spring.http.encoding.charset=utf-8
com.egolm.film.email.test
=
com.egolm.film.email.smtp.host
=
smtp.siff.com
com.egolm.film.email.smtp.port
=
2
5
com.egolm.film.email.smtp.port
=
46
5
com.egolm.film.email.smtp.is_auth
=
true
com.egolm.film.email.smtp.from
=
filmpassword@siff.com
com.egolm.film.email.smtp.username
=
filmpassword@siff.com
...
...
Write
Preview
Markdown
is supported
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