Error:
Error sending mail: The following From address failed: team@appwrite.io : MAIL FROM command failed,,0,SMTP server error: MAIL FROM command failed appwrite-worker-mails | [Error] Type: Exception appwrite-worker-mails | [Error] Message: Error sending mail: The following From address failed: team@appwrite.io : MAIL FROM command failed,,0,SMTP server error: MAIL FROM command failed appwrite-worker-mails | [Error] File: /usr/src/code/src/Appwrite/Platform/Workers/Mails.php appwrite-worker-mails | [Error] Line: 88
These variables have been changed in .env
_APP_SMTP_HOST=smtp.sendgrid.net _APP_SMTP_PORT=587 _APP_SMTP_SECURE=tls _APP_SMTP_USERNAME=YOUR-SMTP-USERNAME _APP_SMTP_PASSWORD=YOUR-SMTP-PASSWORD _APP_SYSTEM_EMAIL_ADDRESS=YOUR-SENDER-EMAIL
I have double checked the SMTP details from SMTP2GO, they are correct.
username example: noreply@domain.com
How come I get errors?
Also ran docker compose up -d!
I reverted the env variables to this blank.
I tried to do it through the dashboard instead:
However the SDK claims the service isn't available.
So is the dashboard only for Cloud or does it work on self hosted docker container?
I just saw I missed one APP variable.
I'll try editing the .env file again.
Stupid mistake on my end.
So to anyone looking at this post.
Make sure to actually change all the env variables.
I missed editing these ones: _APP_SYSTEM_EMAIL_ADDRESS (by default: team@appwrite.io) _APP_SYSTEM_EMAIL_NAME (by default: Appwrite)
Recommended threads
- Anyone manage to get a slack-bot working...
I'm trying to setup a bot the send and retrieve slack messages to a chat in my site. I've failed with SSE and appwrite functions soo far... i'll trying polling ...
- [Sites] Deployment finished but site is ...
The deployment finished and is active but the site shows timeout error.
- Does Appwrite allow SSE ?
i'm trying to setup a slack bot on my site. Your deployed SSE endpoint is returning a non‑SSE response …and the browser immediately closes the connection. read...