Skip to content
HomeKnowledge BaseStatisticsChangelog GitHub Discord Email
commands / demyx smtp

No results for ""

demyx smtp

Usage

bash
demyx smtp

Description

Sends a test email using the SMTP settings configured in the host .env. If the email arrives, SMTP is working correctly.

Setup

Configure SMTP in demyx host edit:

bash
DEMYX_SMTP=true
DEMYX_SMTP_TO=recipient@domain.tld
DEMYX_SMTP_FROM=demyx@yourdomain.tld
DEMYX_SMTP_HOST=smtp.mailprovider.com
DEMYX_SMTP_PORT=587
DEMYX_SMTP_USERNAME=your@email.tld
DEMYX_SMTP_PASSWORD=yourpassword

Then restart: demyx host restart

Testing

bash
demyx smtp

If DEMYX_SMTP is not set to true, you will see:

text
[ERROR] Please set DEMYX_SMTP to true, run on host: demyx host edit
  • demyx healthcheck — healthchecks use SMTP to send failure notifications
  • Operations: SMTP Setup — full SMTP configuration guide