[Mailman-Users] How do I get the from address?
Dan Mick
Dan.Mick at West.Sun.COM
Sat Jan 13 06:47:23 CET 2001
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?
More information about the Mailman-Users
mailing list