Subject: How doe pine actually do mime attachment?

From: [email-masked] (Anthony Lee)
Date: Tue, 18 Jun 1996 03:12:43 GMT

Dear all,

I want to send a number of people pdf files as mime attachments.
Presumably they are all using Eudora.  At the moment I am doing this
by hand from Eudora.  I was wondering whether I could do this from
within a shell script?  I presume pine creat the text to mail and
somehow pipes it to sendmail.  I have download the source
code, I am currently looking at send.c (is that the right place?).

Thank you

---

From: [email-masked] (Logan Shaw)
Date: Thu, 20 Jun 1996 05:24:11 GMT

>code, I am currently looking at send.c (is that the right place?).

I'm happy to inform you that there already exists a tool to do exactly
what you're trying do.  It's called "metasend", and I believe it comes
with the "metamail" package.

It's very easy to use; for instance, if I wanted to send a file to
you called "my.pdf" and have "a file" as the subject of the mail
message, I would simply write:

    metasend -b -m application/pdf -f my.pdf -s "a file" -t [email-masked]

Simple, eh?

  - Logan
-- 
Logan Shaw, Unix Systems Administrator
"everybody / loves to see / justice done / on somebody else" (Bruce Cockburn)