On Sun, Nov 14, 2010 at 11:56 AM, Ralph Corderoy <[email protected]> wrote:
>> Here is my list of possible recipients:
>
> I can't think of any others.  I've had ~/bin/tocc for a while now that
> expands to a bunch of pick(1) arguments suitable for slotting in with
> backticks, but it's not as good as the real thing.

In a Perl program I have, I have the following hash defined
listing out the fields that can contain email addresses:

%HFieldsAddr = (
    'apparently-from'   => 1,
    'apparently-to'     => 1,
    'bcc'               => 1,
    'cc'                => 1,
    'dcc'               => 1,
    'from'              => 1,
    'mail-followup-to'  => 1,
    'mail-reply-to'     => 1,
    'notify-bcc'        => 1,
    'notify-cc'         => 1,
    'notify-to'         => 1,
    'original-bcc'      => 1,
    'original-cc'       => 1,
    'original-from'     => 1,
    'original-sender'   => 1,
    'original-to'       => 1,
    'reply-to'          => 1,
    'resent-bcc'        => 1,
    'resent-cc'         => 1,
    'resent-from'       => 1,
    'resent-sender'     => 1,
    'resent-to'         => 1,
    'return-path'       => 1,
    'sender'            => 1,
    'to'                => 1,
    'x-envelope'        => 1,
);

Hope this helps,

--ewh

_______________________________________________
Nmh-workers mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/nmh-workers

Reply via email to