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
- Local appwrite run functions --user-id n...
Hi, I'm running into an issue when testing Appwrite functions locally with user impersonation. I'm using a self-hosted Appwrite instance and running functions ...
- Selfhosted Github App installation
I've followed this guide: https://appwrite.io/docs/advanced/self-hosting/configuration/version-control to connect GitHub to my self-hosted Appwrite instance (1....
- User ID case sensitivity
I see that through REST (and SDK as well), getting a user is not case sensitive. And even though documentation does not clearly state that it is, the wording "V...