Hi Mark!
You wrote:
Show quoted text> Please be more explicit. Can you show an example.
The problem is that Mail::Message->from returns encoded strings like this:
$VAR1 = bless( [
'=?iso-8859-1?Q?Lo=EFc?= Minie',
'lool+debian@example.com',
''
], 'Mail::Address' );
instead of a nicely decoded (unicode) string.
However, I wasn't aware of this:
Show quoted text> You can also study address fields, which will return a
> Mail::Message::Field::Addresses object...
which indeed seems to do exactly what I need.
Still, it might be worth considering also decoding the strings in
Mail::Message->from, as that seems to be the most straightforward way of
retrieving the From header...
--
Kind regards,
+----------------------------------------------------------------------+
| Bas Zoetekouw | Sweet day, so cool, so calm, so bright, |
|----------------------------| The bridall of the earth and skie: |
| bas@zoetekouw.net | The dew shall weep thy fall tonight; |
+----------------------------| For thou must die. |
+-----------------------------------------+