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
- [Mailman-Users] How do I get the from address? Satya
- Re: [Mailman-Users] How do I get the from addre... Dan Mick
- Re: [Mailman-Users] How do I get the from a... Satya
- Re: [Mailman-Users] How do I get the fr... J C Lawrence
- Re: [Mailman-Users] How do I get th... Satya
- Re: [Mailman-Users] How do I g... J C Lawrence
- Re: [Mailman-Users] How do I get th... Chuq Von Rospach
- Re: [Mailman-Users] How do I g... John W Baxter
- Re: [Mailman-Users] How do... Chuq Von Rospach
- Re: [Mailman-Users] How do... Florian Weimer
- Re: [Mailman-Users] How do... Nigel Metheringham
- [Mailman-Users] Unsubs... Bob [EMAIL PROTECTED]