Sample Header Ad - 728x90

Using mailx on Ubuntu 14.04.2

1 vote
2 answers
2604 views
So I've installed mailx but I'm unable to get it to send an e-mail. I do the following: mailx -s "Test" To: myemail@email.com Cc: "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
Asked by Andrew Hummel (149 rep)
Jul 22, 2015, 03:47 PM
Last activity: Apr 14, 2025, 02:02 PM