Hi, i'm using Appwrite self hosted (v 1.4.13) and I have SMTP configured. When we try to login we don't always receive the login email. Sometimes it works, sometimes it doesn't. We are using AWS SES (sandbox mode) to send the emails.
Sometimes it works so I don't think its the configuration itself. It looks like a connection issue between the Appwrite container and SES but I can't pinpoint what it is. Could it be that Appwrite creates a connection, tries to do some logic which takes time and then tries to send the email? Because it looks like the connection is open for too long, no data is received so the connection is closed again.
The errors in the "worker-mails" container are:
[Job] Received Job (659ebbe9e5bce9.98065278).
[Job] (659ebbe9e5bce9.98065278) failed to run.
[Job] (659ebbe9e5bce9.98065278) Error sending mail: SMTP Error: data not accepted.
[Error] Type: Exception
[Error] Message: Error sending mail: SMTP Error: data not accepted.
[Error] File: /usr/src/code/src/Appwrite/Platform/Workers/Mails.php
[Error] Line: 96
[Job] Received Job (659ebbffdde282.22334188).
[Job] (659ebbffdde282.22334188) failed to run.
[Job] (659ebbffdde282.22334188) Error sending mail: The following From address failed: noreply@project.preprod.aws.coffeeit.nl : MAIL FROM command failed,Timeout waiting for data from client.
,451,4.4.2SMTP server error: MAIL FROM command failed Detail: Timeout waiting for data from client.
SMTP code: 451 Additional SMTP info: 4.4.2
[Error] Type: Exception
[Error] Message: Error sending mail: The following From address failed: noreply@project.preprod.aws.coffeeit.nl : MAIL FROM command failed,Timeout waiting for data from client.
,451,4.4.2SMTP server error: MAIL FROM command failed Detail: Timeout waiting for data from client.
SMTP code: 451 Additional SMTP info: 4.4.2
[Error] File: /usr/src/code/src/Appwrite/Platform/Workers/Mails.php
[Error] Line: 96
Recommended threads
- Realtime api and labels as permission
in my tables i set labels as permission and real-time capabilities stopped working. Before when i was having "any" role everything was working. Note: user have...
- how to access the value of account statu...
- Redirect from clicking team invite link ...
Hi all! Pretty new to app development in general so this might be something more generic than appwrite, but I've found (after reading the docs for the Teams API...