feat: add support for smtp when send email (#2409)

This commit is contained in:
JonahCui
2024-02-07 18:08:41 +08:00
committed by GitHub
parent 65a02f7d32
commit 71e5828d41
5 changed files with 61 additions and 4 deletions

View File

@@ -104,10 +104,15 @@ services:
MILVUS_PASSWORD: Milvus
# The milvus tls switch.
MILVUS_SECURE: 'false'
# Mail configuration, support: resend
# Mail configuration, support: resend, smtp
MAIL_TYPE: ''
# default send from email address, if not specified
MAIL_DEFAULT_SEND_FROM: 'YOUR EMAIL FROM (eg: no-reply <no-reply@dify.ai>)'
SMTP_HOST: ''
SMTP_PORT: 587
SMTP_USERNAME: ''
SMTP_PASSWORD: ''
SMTP_USE_TLS: 'true'
# the api-key for resend (https://resend.com)
RESEND_API_KEY: ''
RESEND_API_URL: https://api.resend.com