Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
iClear-api
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
tao.mo
2023-04-21 18:24:27 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6f9afcdd293e1a8051612c74457d5ff44d84d6b5
6f9afcdd
1 parent
d85febd5
监控应用节点,并且发送邮件
mt 2023年4月21日18:24:16
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
src/main/java/com/erry/iclear/dateInterface/service/EmailSenderService.java
src/main/resources/application.properties
src/main/java/com/erry/iclear/dateInterface/service/EmailSenderService.java
View file @
6f9afcd
...
...
@@ -19,8 +19,7 @@ public class EmailSenderService {
String
smtpServer
;
@Value
(
"${smtp_account}"
)
String
smtpAccount
;
@Value
(
"${smtp_account_name}"
)
String
smtpAccountName
;
String
smtpAccountName
=
"联邦快递中国"
;
@Value
(
"${smtp_port}"
)
Integer
smtpPort
;
...
...
src/main/resources/application.properties
View file @
6f9afcd
...
...
@@ -22,7 +22,7 @@ smtp_account=donotreply@fedex.com
#Password
smtp_pwd
=
#Account Name to send emailis_customer
smtp_account_name
=
联邦快递中国
#smtp_account_name=\u8054\u90A6\u5FEB\u9012\u4E2D\u56FD
#bcc
email_bcc
=
donotreply@fedex.com
#email link
...
...
Please
register
or
login
to post a comment