Web Developer
Hey all, hope someone can help with this. After going through everything I can find on SMTP in the docs and in support, I still can't get SMTP to work. Here's my setup:
I've got a self-hosted Appwrite (1.6.1) install running fine in Docker.
I've also got a fake SMTP server running in another Docker container, also running fine.
It's the simplest possible setup: accepts any email via port 25.
Tested sending an email through telnet and it works as expected.
In the containers 'appwrite' and 'appwrite-worker-mails' I changed the env variables:
_APP_SMTP_HOST=
_APP_SMTP_PORT=25
and nothing else.
But when I try to setup Custom SMTP in the Appwrite dashboard I keep getting:
"Could not connect to SMTP server: SMTP Error: Could not connect to SMTP host. Failed to connect to server"
Also, running 'docker exec appwrite doctor' states that SMTP is disconnected.
I'm completey confused, this should be simple.
What am I missing?!
Any help is greatly appreciated. Been trying to get this running for days now... 🙄