Hi All,
I am using a shell script where i will be sending a mail with some text/message in it and an attachment.
The problem starts here:
i am not able to do both the things together. i.e., either i am able to send some message or an attachment.
the problem is not only with my script the mail command of unix is also outputing the same result. What i would like to know is, do i have to do some settings or please tell me what am i doing wrong.
from the command line i am using:
1.) uuencode pic.jpg pic.jpg | mail
abc@xyz.com < body.txt
2.) (cat body.txt uuencode pic.jpg pic.jpg) | mail
abc@xyz.com body.txt
and many more.
please help
Regards,
Manoj