Sponsored Links

How to send emails via the command line

I’m not talking about a text-based email client that allows you to read and send mails on the terminal like Mutt here. In this article, I will show you a simple way to send emails via the command line. The tools you will need are "msmtp" and " heirloom-mailx". These two are in the repository of most distros so you can install them easily. In Ubuntu-related distros, "heirloom-mailx" is installed by default so you just need "msmtp" then.


Comments are closed.