
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
- ❗[Help] Function stuck in "waiting" stat...
Hi Appwrite team 👋 I'm trying to contribute to Appwrite and followed the official setup instructions from the CONTRIBUTING.md guide to run the platform locall...
- 1.7.0 Self Hosted Upgrade
Hi, I've tried a fresh install on 1.7.0 and I've also done a fresh install on 1.6.2. 1.6.2 is working fine fresh, update to 1.7.0 and migrate fails Fresh inst...
- Functions not work on Server only Localh...
Hi, I successfully upgraded from 1.4 to 1.7, but I'm having a problem. The functions no longer work with the settings I had. I assume some changes were made. It...
