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
- Get team fail in appwrite function
I try to get team of a user inside appwrite function, but i get this error: `AppwriteException: User (role: guests) missing scope (teams.read)` If i try on cl...
- Deploy function not working - 503
Hellon i get this error message, when i try to deploy a new version of a function <html><body><h1>503 Service Unavailable</h1>No server is available to handle...
- Error When load the website
Hi, I am getting this error whenever I reload my website please help me, I am using react Error: ** GET https://cloud.appwrite.io/v1/account 401 (Unauthoriz...