Skip to main content

Email configuration

By default Meli prints emails to the console. However, you can configure email credentials to a proper email service as follows:

MELI_MAIL_FROM: noreply@meli.sh
MELI_MAIL_HOST: smtp.company.com
MELI_MAIL_PORT: 1025
MELI_MAIL_USERNAME: user
MELI_MAIL_PASSWORD: password

For development purposes, we use Mailhog:

version: "3"
services:
# ...
meli:
# ...
environment:
MELI_MAIL_FROM: noreply@meli.sh
MELI_MAIL_HOST: mailhog
MELI_MAIL_PORT: 1025
mailhog:
image: mailhog/mailhog
ports:
- 127.0.0.1:8025:8025
- 127.0.0.1:1025:1025