mirror of
https://github.com/201206030/novel.git
synced 2025-07-06 21:16:38 +00:00
feat: 模版方法模式实现消息发送器
This commit is contained in:
@ -189,6 +189,32 @@ springdoc:
|
||||
api-docs:
|
||||
enabled: false
|
||||
|
||||
--- #----------------------邮箱配置-----------------------------
|
||||
#邮箱服务器
|
||||
spring:
|
||||
mail:
|
||||
host: smtp.163.com
|
||||
#发件人昵称
|
||||
nickname: xxyopen
|
||||
#邮箱账户
|
||||
username: xxx@163.com
|
||||
#邮箱第三方授权码
|
||||
password: xxx
|
||||
#编码类型
|
||||
default-encoding: UTF-8
|
||||
port: 465
|
||||
properties:
|
||||
mail:
|
||||
smtp:
|
||||
auth: true
|
||||
starttls:
|
||||
enable: true
|
||||
required: rue
|
||||
socketFactory:
|
||||
port: 465
|
||||
class: javax.net.ssl.SSLSocketFactory
|
||||
fallback: false
|
||||
|
||||
--- #---------------------自定义配置----------------------------
|
||||
novel:
|
||||
# 跨域配置
|
||||
|
Reference in New Issue
Block a user