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

I think your algorithm would be too simple.

> How do I get the address from which the mail was sent, if I want to reply
> with a confirmation request? Is it acceptable to parse the From: header
> for the following Perl regexp:
> 
> .*(<|\w)\@(>|\w)
> 
> And the resulting match would be the address to which I can reply?



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

Reply via email to