Actually I followed this article and installed Postfix and configured it.  But its not sending mail to the entered email address. with the following command I tried to send email. echo This is the body of the email | mail -s This is the subject line user@example.comAnything I missed to do?.
How can I send mail from localhost by using postifx
email