smtp配置
MAIL_TYPE=smtp
# Default send from email address, if not specified
MAIL_DEFAULT_SEND_FROM=youremail@qq.com
# API-Key for the Resend email provider, used when MAIL_TYPE is `resend`.
RESEND_API_URL=https://api.resend.com
RESEND_API_KEY=your-resend-api-key
# SMTP server configuration, used when MAIL_TYPE is `smtp`
SMTP_SERVER=smtp.qq.com
SMTP_PORT=465
SMTP_USERNAME=youremail@qq.com
SMTP_PASSWORD=QQ授权码
SMTP_USE_TLS=true
SMTP_OPPORTUNISTIC_TLS=false
docker compose down
docker compose up -d