Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sending mail (mailx) with attachment problem

Status
Not open for further replies.

nivone

Programmer
Jul 2, 2002
33
IL
HI,

I'm trying to send attachment on HP11 with mailx.
I use uuencode but all I get is the garbage encoded text as part of the email message.
It works fine on AIX/SUN/Linux, just not on HP11 with mailx.
When I try "mail" instead of "mailx" it works OK, but "mail" doesn't have -s flag (subject) so I cannot use it.
Any idea on:
1. how do I attach with mailx on HP11?
2. How do I add subject when I use "mail"?

Thanks,

Nivo
 
Try this...

uuencode file file | mailx -s 'subject' you@you.com

Mike

"A foolproof method for sculpting an elephant: first, get a huge block of marble, then you chip away everything that doesn't look like an elephant."

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top