Mailing attachments

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Gary Nichols
Date:  
Subject: Mailing attachments
<puts on old-school unix hacker hat>

Ok, sending a binary file as an attachment via a command-line mailer
command:

supermonkey $>uuencode picture.jpg picture.jpg | elm -s "Picture of my
monkey"

or

supermonkey $>mutt -a picture.jpg

or

To send it as a mime attachment to a *cough* *cough* Winblows user:

supermonkey $>mpack -s "Picture of my monkey" -d description.txt
picture.jpg

You can make description.txt with your editor d'choice of course.

Make sense? These are a couple of examples, I have a ton more in my
head... now if I can just find my #$#$@ car keys....

<takes off old-school unix hacker hat, logs off of supermonkey...>

~ Gary ~




On Tue, 2001-09-04 at 16:29, Brian Cluff wrote:
> > can you not just do it the old redirected way?
> >
> > mail -s "my log file" < /var/log/messages
>
> Thats works great for text files, but if you are wanting to mail someone an
> image if you just redirect it to mail, you get a message full of spooge, and
> you also can't be sure that it would even end up in your mailbox the same
> due to some servers striping 8 bit characters down to 7 bit.