0

Good Day, I'm still new in Linux CLI and I'm using RHEL 6. I'm executing command for sending email via terminal.

$ cat log.txt | mail -s "Logs" myemail@e.mail.com 

Hosted by outlook365

When I try this command, nothing happens. No errors but nothing happens.

Any tips?

Thank you.

Edmhar
  • 395

1 Answers1

1

Check the /var/log/maillog to see the logs related to the email being sent. Are the logs logging any errors?

keithbr
  • 36