procmail
[Top] [All Lists]

Re: HTML autoresponder

2000-02-05 13:15:23
On Wed, 2 Feb 2000, Jonathan Pennington wrote:

Anyone have a working autoresponder recipe that bounces HTML messages
back to the sender with a text explaination? I'd like to read a few
recipes to see what the deal is with mine (and maybe use it if I give
up :-)

I've used both of these to detect HTML in email.  Works quite well.  I
want to say era is responsible for the second one.  

:0HB
* ^Content-Type:[       ](text/html|application)

---------------------
# Allow up to 20 (selected) HTML tags in the body
HTMLMax = 20

:0B
* $ -$HTMLMax^0
* 1^1 ()</?(html|ul|ol|dl|dd|dt|li|br|p|pre|font|h[123456]|table|tr|td)>

-- 
Computer Science is merely the post-Turing decline in formal systems
theory.

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