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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 Bug Report: Errors in Messaging service #8291

Open
2 tasks done
vule20 opened this issue Jun 20, 2024 · 7 comments
Open
2 tasks done

馃悰 Bug Report: Errors in Messaging service #8291

vule20 opened this issue Jun 20, 2024 · 7 comments
Assignees
Labels
bug Something isn't working product / self-hosted Issues only found when self-hosting Appwrite question Further information is requested

Comments

@vule20
Copy link

vule20 commented Jun 20, 2024

馃憻 Reproduction steps

I have my own SMTP mail server hosted at smtp.my_domain.com and it works perfectly fine. However, when I integrated it to Appwrite by setting _APP_SMTP_HOST to smtp.my_domain.com and tried messaging my users, I got the following error in the backend.
image

In addition, the messaging console in my current project appears like this
image

馃憤 Expected behavior

It should works fine

馃憥 Actual Behavior

.

馃幉 Appwrite version

Version 1.5.x

馃捇 Operating system

Linux

馃П Your Environment

No response

馃憖 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

馃彚 Have you read the Code of Conduct?

@vule20 vule20 added the bug Something isn't working label Jun 20, 2024
@vule20
Copy link
Author

vule20 commented Jun 20, 2024

My SMTP encryption type is starttls on port 587

@stnguyen90 stnguyen90 added the product / self-hosted Issues only found when self-hosting Appwrite label Jun 20, 2024
@stnguyen90 stnguyen90 self-assigned this Jun 20, 2024
@stnguyen90
Copy link
Contributor

@vule20, thanks for raising this issue! 馃檹馃徏 Do you have tls set for the _APP_SMTP_SECURE environment variable? If not, please try that.

@stnguyen90 stnguyen90 added the question Further information is requested label Jun 20, 2024
@vule20
Copy link
Author

vule20 commented Jun 21, 2024

Yeap. I did. My config is here
Screenshot 2024-06-21 at 16 46 31

When I run doctor, it shows that SMTP is disconnected.
image

And when I run your smpt test script (in your gist), I got this error. I can still use my smtp mail server on port 587 with Python and it works perfectly fine.
image

@stnguyen90
Copy link
Contributor

@vule20, what version of Appwrite do you have running?

@vule20
Copy link
Author

vule20 commented Jun 21, 2024

@stnguyen90 As I mentioned above, I'm using Appwrite 1.5.7

@stnguyen90
Copy link
Contributor

@vule20, what happens if you set the _APP_SMTP_SECURE env var to ssl?

@vule20
Copy link
Author

vule20 commented Jun 22, 2024

@stnguyen90 SMTP sill not connected and the logs from the email test script remain unchanged
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working product / self-hosted Issues only found when self-hosting Appwrite question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants