nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] Feature requests (or explanation of how to do 'em if already there)

2014-10-25 11:28:44
How about we add a getmymbox function escape?  It would do
what mymbox does, except return the user's (first matching)
mailbox name instead of 0/1.  It would return null if no
match, to support:

I ... think I see what you're asking.  If given a list of addresses,
it would search through them and return the first one that was part
of Local-Mailboxes?

and Alternate-Mailboxes, yes.  mymbox already looks in both.

We'd use the same search algorithm used by mymbox, right?  Just match
the address portion?

Right, we'd in fact use the same code.  Just return a string
instead of a num.

David

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>