13

Send Email from command line in Ubuntu 11.10

view full story
linux-howto

http://www.unix.com – Have problem to send email from command line according to the posts like this one: Code: To have the ability to send email from the command line, you will need  to install the mailutils and postfix packages with the following  commands. apt-get install mailutils apt-get install postfix Now configure postfix by running the following command. dpkg-reconfigure postfix Your machine should now have the ability to send email from the command line. Test it. echo "test" | mail [email protected] Did not touch the postfix configuration part though, left it unchanged. But (HowTos)