3

Unable to set end of line in mail command

view full story
linux-howto

http://www.unix.com – 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 . Code: /home/abc1/dead.letter... Saved message in /home/abc1/dead.letter Code: if <condition> mail -s "test mail " [email protected] -c [email protected] 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. Mode (HowTos)