pan-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pan-users] Filtering out body content


From: clarjon1
Subject: [Pan-users] Filtering out body content
Date: Thu, 29 May 2008 10:13:27 -0400

Hi there.
i was wondering if it would be possible to create a filter/regexp that
would work in pan to filter out certain content of a mail message.

For example, in one of the newgroups i'm in, there's a user who
insists on having his reader post in text/plain and html.
It shows up in the headers as:
Content-Type: multipart/alternative;
 boundary="------------000204040206080109000905"

How can I create a filter to look for the boundary line, and then
strip the rest of the message after that point (as it's nothing but
html past there)?

I don't see the boundry line, which may be part of the problem...
However, it shows up after this person's signature with this line for
the startline:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

Perhaps the filter/regexp/whatever may be based on that?

Any tips, hints, recommendations are welcome.
Oh, it's Pan 0.132, if that helps any.

Much thanks!

-- 
Jon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]