Dealing with attachments

Dealing with attachments

Though most email programs deal properly with attachments these days, some mail readers we have (notably emacs rmail) don't. The following instructions will help you isolate those attachments for further action. Note: If the attachment was text, you should run metamail under script to capture the output. You can then edit the log file.

Microsoft sometimes sends single-part text messages in base64 encoding such that the above instructions don't work. The message look something like this:

    From: sender <someone@paul.rutgers.edu>
    To: you <yourself@cs.rutgers.edu>
    Subject: Message
    Date: Sat, 23 Mar 2002 15:04:27 -0500
    Content-Type: text/plain;
	charset="gb2312"
    X-MSMail-Priority: Normal
    X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

    DQpUaGFua3MgZm9yIHJlbWluZGluZy4gQW5kIEkndmUgZ290IHN1Y2ggYSB3YXJuaW5nIGxldHRl
    etc...
To decrypt these messages, it it necessary to add
    Content-Transfer-Encoding: base64
to the headers of the message before passing it through metamail.
This page last updated August 27, 2002.