2

I am trying to use the 3rd answer on How can I send an email through the UNIX mailx command? to send an email.

echo "body"  | mutt -s "subject"  example@example.com -y

However when I do so, I don't get any email sent to me.

Similarly I also tried mailx which was suggested in another answer to the same question:

mailx -s "subjec_of_mail" example@example.com < file_name

This also didn't work. What am I doing wrong? Thanks

Mathew
  • 1,116
  • 5
  • 27
  • 59

0 Answers0