So I've installed mailx but I'm unable to get it to send an e-mail. I do the following:mailx -s TestTo: myemail@email.comCc:This is a test.CTRL-D (does not work)CTRL-D does nothing. It's supposed to end the body and fire off the e-mail, but does not seem to be doing anything.Here's my /etc/hosts file. I'm not sure if this is correct.127.0.0.1      localhost localhost. hp-laptop hp-laptop.10.XXX.X.XXX   hp-laptop.Any suggestions on what's causing the issue?Thanks
Installing mailx on ubuntu 14.04.2
linux;ubuntu;mailx