nmh-workers
[Top][All Lists]
Advanced

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

Re: [Nmh-workers] Pick getting all addressees/senders


From: Earl Hood
Subject: Re: [Nmh-workers] Pick getting all addressees/senders
Date: Sun, 14 Nov 2010 17:33:53 -0600

On Sun, Nov 14, 2010 at 11:56 AM, Ralph Corderoy <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]