[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [nmh-workers] Additional things
From: |
Michael Richardson |
Subject: |
Re: [nmh-workers] Additional things |
Date: |
Sun, 29 Sep 2019 18:42:03 -0400 |
Ken Hornstein <address@hidden> 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:
> address@hidden,address@hidden,address@hidden
> 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 [
] address@hidden http://www.sandelman.ca/ | ruby on rails [
signature.asc
Description: PGP signature