Programster's Blog

Tutorials focusing on Linux, programming, and open-source

Send Emails In A Docker Container Using MSMTP

I had some recent difficulties figuring out how to configure a Docker container to use my SMTP server, for calls to sendmail. Luckily this was easily resolved once I knew about MSMTP and how to configure it. I created this example codebase for future use, and the video explainer below.


The codebase is available on GitHub. The video is also available on YouTube if you have problems playing it.

References

Last updated: 6th February 2024
First published: 6th February 2024