General discussion


Sending attachment from Unix via mail

By priyo_p ·
I want to use mailx or elm command to send one file residing on a particular location of the Unix server . the file has to be send as an attachment. Also the mail should have a subject.
I have tried using the following syntax :
uuencode gcc.txt gcc.txt | mailx -s "test"

But the above command doesn't works.
I am using HP-UX 11i version.
I have tried using mail command but though I am able to send the file as an attachment but the Unix version doesn't supports to mention the subject by giving as -s "Subject".

Can any one help in this matter by giving an example of how to do?
Its very urgent



This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Related Discussions

Related Forums