Discussion Locked

Sending attachment from Unix via mail

0 helpful
0 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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

0 replies

No replies were posted before this discussion closed.

This discussion is closed to new replies.