Commit fb2e58ab by 邓实川 Committed by chenzg

服务器mail配置更新

parent 38e61220
...@@ -92,6 +92,18 @@ spring: ...@@ -92,6 +92,18 @@ spring:
username: postmaster@youlingrc.com username: postmaster@youlingrc.com
password: YoulingRC2020 password: YoulingRC2020
default-encoding: utf-8 default-encoding: utf-8
properties:
mail:
smtp:
auth: true
starttls:
enable: true
required: true
ssl: # SSL Config
enable: true
socketFactory:
port: 465
class: javax.net.ssl.SSLSocketFactor
######### Spring boot应用健康监控 ######### Spring boot应用健康监控
management: management:
......
...@@ -87,10 +87,23 @@ spring: ...@@ -87,10 +87,23 @@ spring:
invert: false # Whether images should be inverted for dark terminal themes. invert: false # Whether images should be inverted for dark terminal themes.
mail: mail:
port: 465 port: 465
protocol: smtp
host: smtp.youlingrc.com host: smtp.youlingrc.com
username: postmaster@youlingrc.com username: postmaster@youlingrc.com
password: YoulingRC2020 password: YoulingRC2020
default-encoding: utf-8 default-encoding: utf-8、
properties:
mail:
smtp:
auth: true
starttls:
enable: true
required: true
ssl: # SSL Config
enable: true
socketFactory:
port: 465
class: javax.net.ssl.SSLSocketFactory
# mybatis-plus # mybatis-plus
mybatis-plus: mybatis-plus:
......
...@@ -91,6 +91,18 @@ spring: ...@@ -91,6 +91,18 @@ spring:
username: postmaster@youlingrc.com username: postmaster@youlingrc.com
password: YoulingRC2020 password: YoulingRC2020
default-encoding: utf-8 default-encoding: utf-8
properties:
mail:
smtp:
auth: true
starttls:
enable: true
required: true
ssl: # SSL Config
enable: true
socketFactory:
port: 465
class: javax.net.ssl.SSLSocketFactor
# mybatis-plus # mybatis-plus
mybatis-plus: mybatis-plus:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment