<<< Date Index >>>     <<< Thread Index >>>

Re: my_hdr To: and strict aliases



On Tuesday, July  5 at 09:14 AM, quoth Kyle Wheeler:
My original thought was that I could do this like so:

    send-hook '~C friend@xxxxxxxx' 'my_hdr To: friend@xxxxxxxx'

But, obviously, my_hdr doesn't seem to have the power to change the To address. Anyone have any idea how I can do this?

I found a way to do this, and figured I'd share it:

   send2-hook '~t friend@xxxxxxxx' "push 't^A^Kfriend@xxxxxxxx^M'"

This only works with send2-hook, the quotes have to be exactly right, and the ^A, ^K, and ^M are the result of control-v-control-a, control-v-control-k, and control-v-control-enter, respectively. I hope that helps somebody.

~Kyle
--
Make no little plans. They have no magic to stir men's blood.
                                                      -- Daniel Burnham

Attachment: pgprdv4ym6uTM.pgp
Description: PGP signature