Skip to content
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

Forget Password use smtp to send email #10466

Closed
5 tasks done
bingbing6 opened this issue Nov 8, 2024 · 2 comments
Closed
5 tasks done

Forget Password use smtp to send email #10466

bingbing6 opened this issue Nov 8, 2024 · 2 comments
Labels
🐞 bug Something isn't working

Comments

@bingbing6
Copy link

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

0.11.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

image
Follow this configuration and restart docker, no mail received

✔️ Expected Behavior

get emails

❌ Actual Behavior

Follow this configuration and restart docker, no mail received

@dosubot dosubot bot added the 🐞 bug Something isn't working label Nov 8, 2024
Copy link

dosubot bot commented Nov 8, 2024

I found a similar unsolved discussion that might be relevant to your issue: Why this not work, which was last updated on September 5, 2024 [1].

For your specific issue with SMTP configuration in Dify version 0.11.0, ensure that you have correctly set the Mail parameters in the .env file. Here is a sample configuration:

MAIL_TYPE: ''
MAIL_DEFAULT_SEND_FROM: 'YOUR EMAIL FROM (eg: no-reply <no-reply@dify.ai>)'
SMTP_SERVER: 'your.smtp.server'
SMTP_PORT: 465
SMTP_USERNAME: 'your_smtp_username'
SMTP_PASSWORD: 'your_smtp_password'
SMTP_USE_TLS: 'true'
SMTP_OPPORTUNISTIC_TLS: 'false'

Make sure to replace 'your.smtp.server', 'your_smtp_username', and 'your_smtp_password' with your actual SMTP server details. After making these changes, restart the service using:

docker compose down
docker compose up -d

If you still do not receive the emails, verify that the email service is functioning correctly and check if the email has been placed in the spam folder [2].

To continue talking to Dosu, mention @dosu.

@bingbing6
Copy link
Author

I followed this. I tried 465 and 25, and it didn't work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant