Hi ,
Am trying to send mail using the mail command, but the mail command is working but its not sending automatically after pressing .(dot) in the command prompt it sends . How to achieve that. Also it showing the below line after pressing the dot .
/home/abc1/dead.letter... Saved message in /home/abc1/dead.letter
if <condition>
mail -s "test mail " abc@xyz.com -c bb@xyz.com
fi
this is the command am trying it sending mail to both to and cc field but I have to enter .(dot) in the command prompt.Need to achieve without doing that.
I tried with real address only and its not sending the mail option. Am getting the file not found error can you pls let me know what is the usage of using "<file" at the end.
Error: