-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gmail smtp 邮箱配置不能正常工作 #1547
Comments
Title: gmail smtp email configuration does not work properly Discussed in #1543Originally posted by jason-xie-123 June 17, 2024
The account and password I tested in https://www.gmass.co/smtp-test can work normally |
因 mail 依赖变量调整,需要改名环境变量来适配新的逻辑: SMTP_DOMAIN=zealot.com
SMTP_ADDRESS=smtp.gmail.com
SMTP_PORT=587
SMTP_USERNAME=you@gmail.com
SMTP_PASSWORD=your_app_password
SMTP_AUTH_METHOD=plain
-SMTP_ENABLE_STARTTLS_AUTO=true
+SMTP_ENABLE_STARTTLS=true |
Because mail relies on variable adjustment, the environment variables need to be renamed to adapt to the new logic: SMTP_DOMAIN=zealot.com
SMTP_ADDRESS=smtp.gmail.com
SMTP_PORT=587
SMTP_USERNAME=you@gmail.com
SMTP_PASSWORD=your_app_password
SMTP_AUTH_METHOD=plain
-SMTP_ENABLE_STARTTLS_AUTO=true
+SMTP_ENABLE_STARTTLS=true |
Discussed in #1543
Originally posted by jason-xie-123 June 17, 2024
请教个问题, 不知有没有人遇见过, 我这边在 ubuntu ec2 上面通过 https://github.com/tryzealot/zealot-docker + nginx 配置好了 tryzealot/zealot, 一切工作正常, 但是我在配置 gmail 邮箱的时候一直不能正常工作, 我使用下面的配置设置
{ "address": "smtp.gmail.com", "port": 587, "domain": "gmail.com", "username": "xxx@gmail.com", "password": "xxxxxxxx", "auth_method": "plain", "enable_starttls_auto": true }
我在 https://www.gmass.co/smtp-test 里面测试的账号密码是可以正常工作的
The text was updated successfully, but these errors were encountered: