Advanced

How to send emails via the command line

Posted by annamese on · Post a comment
Linux and Life
Mail this story
Print this story

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.

Full Story

  Nav
» Read more about: Story Type: Tutorial

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

Comments

No comments yet. Be the first.

Post a comment

A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

Sign up and post (it is free)  or  Log in and post