how to send mail using command line

Knute Johnson ubuntu at knutejohnson.com
Sat Mar 19 21:21:39 UTC 2011


On 03/19/2011 12:56 PM, Abhishek Dixit wrote:
> I installed Postfix on my system now I want to be able to send mails
> via command line in my LAN.
> How is that possible I typed a command mail on terminal and got following
>
> The program 'mail' can be found in the following packages:
>   * heirloom-mailx
>   * mailutils
> Try: apt-get install<selected package>
>
> what exactly should I be doing to be able to send mail via command line.

Install the GNU Mailutils and then check the man page for mail.

Easy as that.

-- 

Knute Johnson
ubuntu at knutejohnson.com




More information about the ubuntu-users mailing list