GovindOriginal post
Rank 2: Process
unable to send mails. even smtp is correctly configured
govind@e2e-106-149:~/appwrite$ docker compose logs -f appwrite-worker-mails
appwrite-worker-mails | [Worker] Worker 0 is ready!
appwrite-worker-mails | Worker mails started
appwrite-worker-mails | [Job] Received Job (65b217a8d5b5d4.10007191).
appwrite-worker-mails | [Job] (65b217a8d5b5d4.10007191) failed to run.
appwrite-worker-mails | [Job] (65b217a8d5b5d4.10007191) Error sending mail: SMTP Error: The following recipients failed: certs@appwrite.io: <team@appwrite.io>: Sender address rejected: not owned by user something@codemantalks.com
appwrite-worker-mails |
appwrite-worker-mails | [Error] Type: Exception
appwrite-worker-mails | [Error] Message: Error sending mail: SMTP Error: The following recipients failed: certs@appwrite.io: <team@appwrite.io>: Sender address rejected: not owned by user something@codemantalks.com
appwrite-worker-mails |
appwrite-worker-mails | [Error] File: /usr/src/code/src/Appwrite/Platform/Workers/Mails.php
appwrite-worker-mails | [Error] Line: 96
appwrite-worker-mails | [Job] Received Job (65b217ba961533.91260033).
appwrite-worker-mails | [Job] (65b217ba961533.91260033) failed to run.
appwrite-worker-mails | [Job] (65b217ba961533.91260033) Error sending mail: SMTP Error: The following recipients failed: amoldeshmukh683@gmail.com: <team@appwrite.io>: Sender address rejected: not owned by user something@codemantalks.com
appwrite-worker-mails |
appwrite-worker-mails | [Error] Type: Exception
appwrite-worker-mails | [Error] Message: Error sending mail: SMTP Error: The following recipients failed: amoldeshmukh683@gmail.com: <team@appwrite.io>: Sender address rejected: not owned by user something@codemantalks.com
appwrite-worker-mails |
appwrite-worker-mails | [Error] File: /usr/src/code/src/Appwrite/Platform/Workers/Mails.php
appwrite-worker-mails | [Error] Line: 96
Summary
The developer is unable to send emails through their SMTP provider. They have verified that the SMTP is correctly configured, but the emails are still not sending. The error message suggests that the sender address is rejected because it is not owned by the user. The developer should change the system email environment variable to the correct address (`something@codemantalks.com`). The issue is not with Appwrite, but rather with the SMTP provider.