how to run mail command? [ Solved]

Hello
I try to use mail command, but after i type mail in terminal the system suggest to install it by apt-get install mailutils
Ok its downloaded but need some configuration

http://imgur.com/a/3V8sn

i try to configure it but i got this picture each time

Hi,

I noticed you marked your thread as solved.
Could you inform us how you solved your problem?
thanks!

Hello
I try to run mail then address but i fail, so

  • install ssmtp

sudo apt-get install ssmtp

  • then edit config file

gksu gedit /etc/ssmtp/ssmtp.conf

  • add your email preferences

[email protected]
mailhub:465=smtp.gmail.com
rewriteDomain=gmail.com
AuthUser=username
AuthPass=password
FromLineOverride=YES
UseTLS=YES

  • then

email [email protected]

I think this is the steps