Operating System - HP-UX
1834393 Members
1736 Online
110066 Solutions
New Discussion

Re: Help with attachments

 
SOLVED
Go to solution
Bill Costigan
Honored Contributor

Help with attachments

I've been following the threads on sending attachments using elm with [include...] and mailx with uuencode.

But I'm missing something.

if I use the [include with elm. I simply get the string:
[include /etc/hosts text/plain base64] in the body of the text.

if I try uuencode I get:
begin 444 hosts
M(R!`*",I:&]S=',@)%)E=FES:6]N.B`Q+CDN,C$T+C$@)"`D1&%T93H@.38O

What am I missing?

If I run what on /usr/bin/elm, it returns
$Revision: 1.206.214.1 $

Where do I get elm 2.4? I'm running HPUX 11.0. I looked for elm patches and only found X.400 and openmail patches.
3 REPLIES 3
Kevin Wright
Honored Contributor
Solution

Re: Help with attachments

try this
uuencode 'filename' 'attachment name' |sendmail joe@domain.com

in attachment name you can put .xls or whatever you like.
MANOJ SRIVASTAVA
Honored Contributor

Re: Help with attachments

U can try some more methods :http://www3.primushost.com/~kylet/unix-att.html

There a lot of ways to do them.

Manoj

Bill Costigan
Honored Contributor

Re: Help with attachments

Thanks!!!

It works.

I also discovered that the [include or uuencode results must start the line. eg.
\n[include... works
\n [include... doesn't

I missed that little detail.