[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: extracting addresses from TO: field



On January 5, 2005 at 03:48, Jaco Geldenhuys wrote:

> So, I would like MHonarc to render
> 
>   "Gil Bates" <gb@xxxxxxxxxxxxx>, "Eve Bjosst" <eb@xxxxxxxxx>
> 
> as
> 
>   gb@xxxxxxxxxxxxx, eb@xxxxxxxxx
> 
> 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


[Index of Archives]     [Bugtraq]     [Yosemite News]     [Mhonarc Home]