procmail
[Top] [All Lists]

Re: How do I extract an e-mail address from a message body and store it to a list to allow filter bypass?

2003-05-21 03:40:15
On Tuesday, May 20, 2003, at 18:24 Canada/Mountain, Bardwareonline wrote:
Ross,

Thanks -- you gave me all the information I needed.  Here's what I went
with (I left out the [^         ] because there's no white space in
between the mailto: and the address.  Instead, I used .*, because there
should be nothing else after the mailto: except for the e-mail address:

this will break as son as you get something like this:

Buyer: <mailto:Fred(_at_)company(_dot_)com>

or, say Fred has requested than any mail about your toner sales be sent with the subject "TONER SALES" then your mailto might look like this:

Buyer: <mailto:fred(_at_)company(_dot_)com?Subject=TONER%20SALES>

I would try to deal with at least the FIRST example above, since that sort of mailto is quite common

--
"In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move." --Douglas Adams


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail