Back

SMTP does not work

  • 0
  • Self Hosted
Raphael
24 Oct, 2024, 18:11

I have an own Instance of appwrite. SMTP wont work

ENV

TypeScript
_APP_SMTP_HOST=5.180.252.100
_APP_SMTP_PORT=465
_APP_SMTP_SECURE=
_APP_SMTP_USERNAME=noreply@schuelerpenning.de
_APP_SMTP_PASSWORD=PASSWORD

ERROR

TypeScript
appwrite-worker-mails  | [Worker] Worker 0 is ready!
appwrite-worker-mails  | Worker mails  started
appwrite-worker-mails  | [Job] Received Job (671a880fde09b0.59872047).
appwrite-worker-mails  | [Job] (671a880fde09b0.59872047) failed to run.
appwrite-worker-mails  | [Job] (671a880fde09b0.59872047) Error sending mail: SMTP Error: Could not connect to SMTP host.
appwrite-worker-mails  | Using deprecated logging configuration. Please update your configuration to use DSN format.Unable to parse DSN: scheme is required
appwrite-worker-mails  | [Error] Type: Exception
appwrite-worker-mails  | [Error] Message: Error sending mail: SMTP Error: Could not connect to SMTP host.
appwrite-worker-mails  | [Error] File: /usr/src/code/src/Appwrite/Platform/Workers/Mails.php
appwrite-worker-mails  | [Error] Line: 145

can anyone help please?

TL;DR
Developers having issues with SMTP settings in their own Appwrite instance. Error message "SMTP Error: Could not connect to SMTP host." Check SMTP host, port, secure, username, and password settings. Check deprecated logging configuration as well.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more