mhonarc-users

Re: extracting addresses from TO: field

2005-01-07 13:36:14
On January 5, 2005 at 03:48, Jaco Geldenhuys wrote:

So, I would like MHonarc to render

  "Gil Bates" <gb(_at_)crisomoft(_dot_)com>, "Eve Bjosst" 
<eb(_at_)palpe(_dot_)com>

as

  gb(_at_)crisomoft(_dot_)com, eb(_at_)palpe(_dot_)com

or perhaps with the lt; and gt; chars stil in place.

There is no resource available to do what you want.

If you want the operation done when mhonarc process the message, one
way is to register a $mhonarc::CBMessageHeadRead callback function
(see the docs for more information on how to do this).

In your function, you can modify the values for $fields_hash_ref->{'to'}
so the human names are removed.  Note, $fields_hash_ref->{'to'} is
actually an array.  The format of $fields_hash_ref is described in
the docs.

--ewh

<Prev in Thread] Current Thread [Next in Thread>