procmail
[Top] [All Lists]

Re: Mime and Pine

1998-11-02 04:20:48
On Mon, 2 Nov 1998 09:05:21 +0100 (MET), Bertil Stenstrom
<stenis(_at_)sto(_dot_)sema(_dot_)se> wrote:
Has anyone written a procmail-rule that could automatically send a reply
to the sender if the mail is encoded in that way ?? (asking them to send
plain text only)
The reply-stuff is not the problem, it's the logic of how to detect the
html-mime-stuff that I'm uncertain about.

Typically something like

  * ^Content-type: text/html

or a multipart with an HTML body part:

  * ^Content-type: multipart/(mixed|alternative)
  * B ?? ^Content-type: text/html

I haven't verified this with actual Outlook messages because I don't
have any to test with (sung to the tune of "I'm very lucky, I think
you'll agree"). But I hope this can get you started at least.

/* era */

-- 
Bot Bait: It shouldn't even matter whether  (`')  Just  (`')  http://www.iki
I am a resident of the State of Washington   \/ Married! \/   .fi/~era/

<Prev in Thread] Current Thread [Next in Thread>