Unable to mail to self (on the same local machine)
by nikhilbirari from LinuxQuestions.org on (#5MQ90)
Hello,
I am currently working on CentOS 7.2. I am trying to send email to myself on the same local machine. I get message as no mail for Nik (my username).
I have installed xmail
$ yum install xmail
and here is what I am entering in mail description
$ mail -s "Test mail" Nik < newfile
I have already created a newfile in my home directory. I am really not able to figure out what exactly is going wrong. Please assist me on the same
I am currently working on CentOS 7.2. I am trying to send email to myself on the same local machine. I get message as no mail for Nik (my username).
I have installed xmail
$ yum install xmail
and here is what I am entering in mail description
$ mail -s "Test mail" Nik < newfile
I have already created a newfile in my home directory. I am really not able to figure out what exactly is going wrong. Please assist me on the same