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
- "Domain verification failed"
"Domain verification failed" I was install Appwrite in my VDS server. I using Coolify for install Appwrite. After install complete, i want add my domain, and i ...
- Appwrite Sites triggers builds for all p...
I connected my Appwrite Sites to my Git app on my self hosted Appwrite server, but even though I only connected it to main branch, it creates a build every sing...
- Scheduled works locking the entire Maria...
I have a scheduled function and apparently that or something is locking the entire MariaDB database and Appwrite is giving MariaDB errors. This error persists e...