Send email from the command line (Konsole)

Nikolai psalmos at
Sat Nov 4 14:25:57 UTC 2006

smithveg wrote:

> Is this mail is about sending an email from a terminal?


> But why you use php echo?

echo is also a Linux/UNIX command

> I do interest if you are using terminal to send mail. Can i have some
> tutorials.

I just followed Marius Gedminas' "tutorial" (if you can call it that):

$ echo "Here's the file I promised to send you" | mutt -s "Subject" \
-a recipient at

Obviously, mutt and postfix must be installed on your system for this to
work (look at the second message in the thread for more info).

the truth shall make you free

More information about the ubuntu-users mailing list