This is an automated email from the ASF dual-hosted git repository.

gongchao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hertzbeat.git


The following commit(s) were added to refs/heads/master by this push:
     new ae65e7594 [remove][improve] mail config (#1819)
ae65e7594 is described below

commit ae65e7594ee4b6f56e8af12d1ba0f416ac43bcb6
Author: Logic <[email protected]>
AuthorDate: Tue Apr 23 13:53:07 2024 +0800

    [remove][improve] mail config (#1819)
---
 manager/src/main/resources/application.yml | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/manager/src/main/resources/application.yml 
b/manager/src/main/resources/application.yml
index 33fecabfd..63af8baf9 100644
--- a/manager/src/main/resources/application.yml
+++ b/manager/src/main/resources/application.yml
@@ -76,8 +76,6 @@ spring:
   jpa:
     hibernate:
       ddl-auto: update
-  # Not Require, Please config if you need email notify
-  # 非必填:不使用邮箱作为警告通知可以去掉spring.mail配置
   mail:
     # Attention: this is mail server address.
     # 请注意此为邮件服务器地址:qq邮箱为 smtp.qq.com qq 企业邮箱为 smtp.exmail.qq.com
@@ -86,9 +84,9 @@ spring:
     # Attention: this is not email account password, this requires an email 
authorization code
     # 请注意此非邮箱账户密码 此需填写邮箱授权码
     password: your-password
-    #Attention: Tencent mail smtps 465,smtp 587
-    #请注意腾讯邮箱465为smtps,587为smtp
-    port: 587
+    # Attention: qq mailbox default is 465 port, if you use 587 port, please 
configure port: 587 in application.yml
+    #请注意腾讯邮箱默认为465端口,如果使用587端口请在application.yml中配置port: 587
+    port: 465
     properties:
       mail:
         smtp:


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to