Samuel KingsOriginal post
Rank 4: Virtual Machine
I have tried between 2 different mails and hosts to activate the SMTP of my self-hosted Appwrite instance but to no avail.
No matter what I set this is the log I always get.
My env variables:
_APP_SMTP_HOST=premium49.web-hosting.com
_APP_SMTP_PORT=587
_APP_SMTP_SECURE=tls
_APP_SMTP_USERNAME=my-username
_APP_SMTP_PASSWORD=my-password
I also tried this:
_APP_SMTP_HOST=premium49.web-hosting.com
_APP_SMTP_PORT=465
_APP_SMTP_SECURE=ssl
_APP_SMTP_USERNAME=my-username
_APP_SMTP_PASSWORD=my-password
For the 2nd one:
_APP_SMTP_HOST=smtp.ionos.com
_APP_SMTP_PORT=587
_APP_SMTP_SECURE=tls
_APP_SMTP_USERNAME=admin@p***m.app
_APP_SMTP_PASSWORD=***********
Kindle note that all of these configurations worked on all the 3 SMTP test tools I used.
Why don't they work on Appwrite?
Summary
Developers are having trouble connecting to the SMTP host on their self-hosted Appwrite instance despite trying different configurations. The SMTP settings seem correct and have been tested successfully on other tools. The issue might be with the Appwrite setup.