STMP service password contains non-standard characters and cannot be authenticated #18635

Closed
opened 2026-02-21 19:50:04 -05:00 by yindo · 0 comments
Owner

Originally created by @RoooyHe on GitHub (Sep 30, 2025).

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • 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, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.9.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

After initializing and starting the project using the docker-compose file version 1.9.0, modifying the SMTP service address in the .env file, when the password contains unconventional characters such as ?~$, authentication cannot be completed regardless of whether single or double quotes are used. The issue was resolved after changing the password to purely letters and numbers.

✔️ Expected Behavior

Successfully authenticated and sent email

Actual Behavior

Image
Originally created by @RoooyHe on GitHub (Sep 30, 2025). ### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report, otherwise it will be closed. - [x] 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.9.0 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce After initializing and starting the project using the docker-compose file version 1.9.0, modifying the SMTP service address in the .env file, when the password contains unconventional characters such as ?~$, authentication cannot be completed regardless of whether single or double quotes are used. The issue was resolved after changing the password to purely letters and numbers. ### ✔️ Expected Behavior Successfully authenticated and sent email ### ❌ Actual Behavior <img width="1031" height="601" alt="Image" src="https://github.com/user-attachments/assets/aea02572-402c-4a8c-a7f7-562fd695e13f" />
yindo added the 🐞 bug label 2026-02-21 19:50:04 -05:00
yindo closed this issue 2026-02-21 19:50:04 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#18635