[ubuntu] How to send mail by commandline

view story

http://ubuntuforums.org – I have Ubuntu 12.10 with mailutils and postfix packages installed. I tried the following command line ==> mail -s "subject .... " [email protected] but it fail to send out the mail where [email protected] is my email address carried by google. Can anyone help with the complete installation & setup required for the mail command line to work on Ubuntu 12.10? (Hardware)