You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to some variables missing in .env, the mail-worker is not able to send mails
Have you spent some time to check if this issue has been raised before?
Yes
To Reproduce
clone 0.7.x
edit Dockerfile to add your SMTP credentials (SendGrid in my case)
compose
make a project and create a new user
hit verification endpoint to send a mail to users' mail address to get verified
Expected behavior
Sendgrid SMTP credentials were correct, mail limit was not reached, _APP_SYSTEM_EMAIL_ADDRESS was in allowed senders, so mail was supposed to reach users' inbox.
,550, SMTP server error: MAIL FROM command failed Detail: Unauthenticated senders not allowed
Your Environment
Ubuntu 20.04
Workaround
As some vars were missing in docker-compose exec appwrite vars (shown above), as per @eldadfux suggestion, I manually added in docker-compose.yml as follow:
🐛 Bug Report
Due to some variables missing in .env, the
mail-worker
is not able to send mailsHave you spent some time to check if this issue has been raised before?
Yes
To Reproduce
Expected behavior
Sendgrid SMTP credentials were correct, mail limit was not reached,
_APP_SYSTEM_EMAIL_ADDRESS
was in allowed senders, so mail was supposed to reach users' inbox.Output of
docker-compose exec appwrite vars
:Dockerfile Edits :
Actual Behavior
docker-compose logs appwrite-worker-mails
shows that mail was rejected by sendgrid with error code 550 (Unauthenticated Sender)Your Environment
Ubuntu 20.04
Workaround
As some vars were missing in
docker-compose exec appwrite vars
(shown above), as per @eldadfux suggestion, I manually added indocker-compose.yml
as follow:composed again and hit verification endpoint and I was able to receive mail successfully.
The text was updated successfully, but these errors were encountered: