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
- Any way to temporarily bypass the email ...
Hey guys, any way to bypass the email verification to use the accounts again? i need to recover some projects that due to recent changes have been stopped, and ...
- Collections list not showing up when try...
I'm trying to create new relationship attribute but both one way and two way relationship is not showing up collections list to connect with my relationship att...
- I have try to use the appwrite in to the...
Invalid Origin. Register your new client (oailedjdbkhlkakmnnapoonllbnfmfij) as a new Web (Chrome Extension) platform on your project console dashboard