On Mon, Sep 06, 1999 at 02:16:58PM +0200, Maciej Majchrowski wrote:
>Hi... I want to use 2 email-reply addresses at the same time:
>1. [EMAIL PROTECTED]       (my private email)
>2. [EMAIL PROTECTED]  (email at work)
>
>When I get email addressed to [EMAIL PROTECTED], I want to reply
>with the same address set as reply one. Elsewhere I want to reply
>with address [EMAIL PROTECTED]:
>
>I've got in ~/.muttrc
>send-hook '.*'                 'my_hdr From: <[EMAIL PROTECTED]>'
>send-hook '@hart\.com\.pl'     'my_hdr From: <[EMAIL PROTECTED]>'
>
>To send emails I want to bind another key 'M':
>macro  index   m       ':my_hdr From: <[EMAIL PROTECTED]>^M<mail>'
>macro  index   M       ':my_hdr From: <[EMAIL PROTECTED]>^M<mail>'
>
>When I press 'M' it doesn't work:
>When I delete send-hook's lines I works.
>
>Any ideas how to solve this problem?

I've got one: replace the first send-hook line with this:
send-hook '!@hart\.com\.pl'     'my_hdr From: <[EMAIL PROTECTED]>'

Tested.

Best Regards,
Marius Gedminas
-- 
Just when you thought you were winning the rat race, along comes a
faster rat!!!

Reply via email to