Richard P. Groenewegen <[EMAIL PROTECTED]> wrote:
>
>       send-hook '~t [EMAIL PROTECTED]' '<whatever>'
> 
> but I'll only want this send-hook to work if [EMAIL PROTECTED] is the only
> recipient.  

Isn't there a pattern modifier "^" that means "only"?

    send-hook '^~t [EMAIL PROTECTED]' '<whatever>'

That matches only if <[EMAIL PROTECTED]> is the only recipient on the To: 
header.  Note that the Cc: header is not checked.  If you really meant
"only recipient of the message," you'd want ^~C instead.

-- 
David DeSimone   | "The doctrine of human equality reposes on this:
[EMAIL PROTECTED]   |  that there is no man really clever who has not
Hewlett-Packard  |  found that he is stupid." -- Gilbert K. Chesterson
UX WTEC Engineer |    PGP: 5B 47 34 9F 3B 9A B0 0D  AB A6 15 F1 BB BE 8C 44

Reply via email to