On Jan 12, 2001 at 21:47, Dan Mick wrote:

>It's almost always more complicated than you think.  See 
>formail, for instance, or the rfc822 stuff in Python/Mailman.

Com-pli-cated. I'm in no mood to make sense of RFC 822 right now, and
Python still eludes me.

If anyone wants, it's a single function that needs modification. After I
release the program, someone can rip out my regexp and install proper
code.

Here's the one I'm going to use, though:

$pa_addr=~s/(.*)(<|\s)(.*?\@.*?)(>|\s)(.*)/$3/;

-- 
Satya. <URL:http://satya.virtualave.net/>
US-bound grad students! For pre-apps, see <URL:http://quickapps.cjb.net/>
Reality is for people who can't handle Star Trek.


------------------------------------------------------
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://www.python.org/mailman/listinfo/mailman-users

Reply via email to