Re: ->get('From') vs. ->Sender vs. From:
"Roderick A. Anderson" <[email protected]> Thu, 9 Jun 2005 09:58:26 -0700 (PDT)
| Newsgroups | gmane.comp.lang.perl.modules.mail-box |
|---|---|
| Message-ID | <[email protected]> |
I'm sorry Mitar. I thought I was replying to the list each time instead of just you. List? My last reply to Mitar follows and I'll add I've been through the Mail::Box documentation several times and can find no mention of how to get the "message's envelope sender address" from a message in a mbox formatted folder. This is a change/addition to a working script but because of a change ( or rather new information about ) two programs -- that we do not have the source code for -- I now need this in addition to the normal/regular sender/from: information. I did find a ->set(from => '[email protected]') method but haven't had a chance to try a ->get(from) -- verses ->get('from') to see if that works. ( differently? ) Any suggestions? TIA, Rod -- On Wed, 8 Jun 2005, Mitar wrote: > Maybe you should read somewhere the mbox format specifications and > where this "From" line comes from - which fields are used for it. And then > just read those fields with Mail::Box. Just finished looking at the mbox man page and the Mail::Box documentation (and friends.) The man page says I'm looking for the "message's envelope sender address" from the postmark line. I could find nothing similar in the Mail::Box docs. Heck I couldn't even find the '->sender' method again. 8-( > There are many different opinions about "reply to" addresses for lists and > you should maybe read some of those on the Internet. It's not the reply-to I'm looking for. That is pretty simple to get using Mail::Box. So for now I'll experiment to see if I can get what I need. Rod -- "Open Source Software - You usually get more than you pay for..." "Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL"