Hi,
Can some one help me with the syntax of the mailx that should send an attachment and also some text in the message body together.
When I am using the following syntax it is not sending the attachment but only the message body.
unix2dos -ascii $REPORTFILE | uuencode $PCFILE | mailx -s "hi"
xyz@hotmail.com < note.txt
Where as REPORTFILE is the simple text file with .txt extn
PCFILE is converting the .txt into .XLS
note.txt contains the message that should be there in the message body
If I try with the following syntax it is sending the attachment without any thing in the message body.
unix2dos -ascii $REPORTFILE | uuencode $PCFILE | mailx -s "hi"
xyz@hotmail.com
It is on SOLARIS
Regards
Narayana Gupta