Files
AIGC/demo/tencent-config-template.properties

43 lines
1.6 KiB
Properties
Raw Normal View History

# 腾讯云邮件推送服务配置模板
# 请根据您的腾讯云账号信息填写以下配置
# ===========================================
# 1. API密钥配置必填
# ===========================================
# 在腾讯云控制台 → 访问管理 → API密钥管理 中获取
tencent.cloud.secret-id=请填写您的SecretId
tencent.cloud.secret-key=请填写您的SecretKey
# ===========================================
# 2. 邮件推送服务配置(必填)
# ===========================================
# 服务地域(通常使用北京)
tencent.cloud.ses.region=ap-beijing
# 发件人邮箱需要在腾讯云SES中验证
tencent.cloud.ses.from-email=请填写您的发件人邮箱
# 发件人名称
tencent.cloud.ses.from-name=AIGC Demo
# 邮件模板ID可选如不使用模板可留空
tencent.cloud.ses.template-id=
# ===========================================
# 3. 使用说明
# ===========================================
# 1. 复制此文件为 application-tencent.properties
# 2. 填写上述配置信息
# 3. 在 application.properties 中设置 spring.profiles.active=tencent
# 4. 重启应用即可使用腾讯云邮件服务
# ===========================================
# 4. 配置示例
# ===========================================
# tencent.cloud.secret-id=AKID1234567890abcdef1234567890abcdef
# tencent.cloud.secret-key=abcdef1234567890abcdef1234567890
# tencent.cloud.ses.region=ap-beijing
# tencent.cloud.ses.from-email=noreply@yourdomain.com
# tencent.cloud.ses.from-name=AIGC Demo
# tencent.cloud.ses.template-id=123456