
Is there any way to get the appwrite 1.6 mailer docker image working on a droplet? I can send emails via the appwrite console, but my magiclinks always fiail with a forbidden error, no matter the port, or service (tried both mailgun and resend)
- I have valid smtp settings in the ENV and the docker image, verified by sending an email with the swaks CLI.
- I always get this error when attempting to send via a droplet, but all docks say these ports should be fine
TypeScript
2025-06-11T15:54:39.152980167Z Worker mails started
2025-06-11T15:55:46.309250325Z [Job] Received Job (6849a7024af7d9.69165207).
2025-06-11T15:55:46.925536813Z [Job] (6849a7024af7d9.69165207) failed to run.
2025-06-11T15:55:46.925590124Z [Job] (6849a7024af7d9.69165207) Error sending mail: SMTP Error: Could not authenticate.
2025-06-11T15:55:46.926362755Z Using deprecated logging configuration. Please update your configuration to use DSN format.Unable to parse DSN: scheme is required
2025-06-11T15:55:46.933410420Z [Error] Type: Exception
2025-06-11T15:55:46.933444505Z [Error] Message: Error sending mail: SMTP Error: Could not authenticate.
2025-06-11T15:55:46.933527633Z [Error] File: /usr/src/code/src/Appwrite/Platform/Workers/Mails.php
2025-06-11T15:55:46.933535299Z [Error] Line: 145```
TL;DR
Developers are having trouble sending emails through a DigitalOcean Droplet using mailgun and port 2525 with the appwrite mailer docker image. Magiclinks always fail with a forbidden error, despite valid SMTP settings. The error message indicates an authentication issue. The problem seems to be with the authentication process when sending emails.Recommended threads
- Attribute already exists in schema
I created an attribute, deleted it and now I can't create it again. It says "Failed" and "Attribute already exists in schema". ```json { "27": { "ke...
- Decentralisation
I had queries regarding decentralisation with self hosting, particularly with sites as a recent addition. Can we decentralise sites as in many cases we would li...
- Error response from daemon: driver faile...
on endpoint appwrite-traefik (00bbc10e5875d0c367d8975c6abc946a77b7ec201a64a825399add44fb34ebb4): failed to bind port 0.0.0.0:80/tcp: Error starting userland pro...
