Send email from a containerized Ghost blog using SMTP
Sending email from a containerized Ghost blog using SMTP.
It took a little bit of looking to find the answer for this one. Sending email from a Ghost blog looks trivial from their docs - https://ghost.org/docs/config/. But, the configuration changes when running the Ghost as a containerized app.
You will need an email account that can send using SMTP.
I use MXroute as my SMTP service.
The following is added to the 'environment' section of the docker-compose.yml file for your Ghost container to define the mail options:
I tested this out by sending myself a password reset from the Ghost login page: