Browse Source

Add mail server configuration description information (#2143)

* Add mail server configuration description information

* Remove mail server configuration note in alert.properties
t1mon 5 years ago
parent
commit
46e30b1e50
2 changed files with 2 additions and 1 deletions
  1. 0 1
      dolphinscheduler-alert/src/main/resources/alert.properties
  2. 2 0
      install.sh

+ 0 - 1
dolphinscheduler-alert/src/main/resources/alert.properties

@@ -28,7 +28,6 @@ mail.server.port=25
 mail.sender=xxx@xxx.com
 mail.user=xxx@xxx.com
 mail.passwd=111111
-
 # TLS
 mail.smtp.starttls.enable=true
 # SSL

+ 2 - 0
install.sh

@@ -109,6 +109,7 @@ mailProtocol="SMTP"
 mailServerHost="smtp.exmail.qq.com"
 
 # mail server port
+# note: Different protocols and encryption methods correspond to different ports, when SSL/TLS is enabled, make sure the port is correct.
 mailServerPort="25"
 
 # sender
@@ -118,6 +119,7 @@ mailSender="xxxxxxxxxx"
 mailUser="xxxxxxxxxx"
 
 # sender password
+# note: The mail.passwd is email service authorization code, not the email login password.
 mailPassword="xxxxxxxxxx"
 
 # TLS mail protocol support