General discussion

Locked

Sending attachment from Unix via mail

By priyo_p ·
Hi,
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" abc@yahoo.com

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

regards,

Paul

This conversation is currently closed to new comments.

0 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Back to Software Forum
0 total posts (Page 1 of 1)  

Related Discussions

Related Forums