Give it a try. I did and the gif came through correctly.
Command
(cat ants-logo.gif|uuencode ants-logo.gif;echo "Hi
Kep")|/var/qmail/bin/qmail-inject [EMAIL PROTECTED]
om
Kep
_____
ants.com <http://www.ants.com> scout <http://www.ants.com/scout>
Kep Brown
Systems, Network and Database Administrator
phone: (805) 560-3781
fax: (805) 560-3991
e: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
-----Original Message-----
From: Alex Le Fevre [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 22, 2001 8:59 AM
To: [EMAIL PROTECTED]
Subject: Attachments via /usr/bin/sendmail
How would I go about attaching encoded files (i.e.
jpg, gif, etc.) via the mailwrapper? I'm trying to
write a Perl script that first uploads a file (which
I've done no problem), and then e-mails it out to a
specified address. I've seen some examples that
mentioned uuencoding, but I'm not sure if this would
be right for all types of attachments.
Thanks,
Alex Le Fevre
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/