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
- Appwrite SSL Certificate Failure
Hello, I need help releasing a stuck domain. My Domain: adilnaib.engineer My Project ID: 68fe0aee001e999b5d71 Error: Failed to add domain to Fastly: {"msg":"B...
- [BUG] I'm facing an issue while creating...
Here’s what’s happening: When I try to create a new Web app on my Appwrite console (backend.keplr.in), the browser console shows multiple errors: Uncaught (in...
- Sites: Old deployment gets requests even...
Hi team, I use Sites to host a Next.js web app and it serves from old deployment for many hours. Is this expected? I thought it would serve from new deployment ...