Hello,
I am facing a weird problem with mail command.
I need to send data present in a file say 1.txt to a email address and now when i give the following command,
cat 1.txt | mail -s "HellO"
abc@www.com
sometimes i get the mail with the text as part of the mail itself. I mean the text is present in the body of the mail.
And Sometimes iam getting the mail as an attachment , something like Hello.dat. when i open this dat file iam able to see the original message.
Can someone tell me why such weird things happen with mail command .
~Srihari.