Ken Hornstein <k...@pobox.com> wrote:
    > Let's say it is something like this:

    > %[%(formataddr{to})%(formataddr({cc})%^%(addr{loop})%#,%]

    > What does that mean?  We take the addresses in the "To" and "cc" headers,
    > treat them as a address list, and execute %(addr) on each address (the
    > pseudo-component "loop" will be set to the value of each address as the
    > loop progresses).  Everything after %# gets executed between each entry.
    > So this on the above To: line would end up generating:

    > f...@bar.com,b...@arg.com,s...@body.com

    > This might be something I could actually implement in a reasonable amount
    > of time.

Seems cool to me.
I guess addr{loop} will operate on any ,-seperated list of address-like
things.  I would also guess it would nuke the "My Name" and (comment)
parts beforehand.

--
]               Never tell me the odds!                 | ipv6 mesh networks [
]   Michael Richardson, Sandelman Software Works        |    IoT architect   [
]     m...@sandelman.ca  http://www.sandelman.ca/        |   ruby on rails    [

Attachment: signature.asc
Description: PGP signature

-- 
nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers

Reply via email to