How to configure SMTP E-Mail for InvenTree (docker/docker-compose)
You can easily configure SMTP email for InvenTree by adding the following config to your .env
file (I’m using the docker production config):
INVENTREE_EMAIL_HOST=smtp.mydomain.com
INVENTREE_EMAIL_USERNAME=inventree@mydomain.com
INVENTREE_EMAIL_PASSWORD=cheen1zaiCh4yaithaecieng2jazey
INVENTREE_EMAIL_TLS=true
INVENTREE_EMAIL_SENDER=inventree@mydomain.com
Even after setting up InvenTree, it is sufficient to just add this config to the .env
file and restarting the server.
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow