Whoops I forgot to CC: the list on that one.. G'luck, Peter -- This sentence no verb. ----- Forwarded message from Peter Pentchev <[EMAIL PROTECTED]> ----- Date: Mon, 4 Dec 2000 16:54:46 +0200 From: Peter Pentchev <[EMAIL PROTECTED]> To: William Maddler <[EMAIL PROTECTED]> Subject: Re: "set my_hdr" via macro User-Agent: Mutt/1.2.5i In-Reply-To: <[EMAIL PROTECTED]>; from [EMAIL PROTECTED] on Mon, Dec 04, 2000 at 03:40:18PM +0100 Several points on this. 1. If you need to set your from name and/or address, better let mutt know what you're trying to do - set the 'from' variable, do not add a new header. 2. Keyboard macros expand to just that - key sequences. Thus, if you want to enter a command, you need to prefix it with ':', just as you would've done if you'd tried to enter it on the mutt 'command line'. So.. macro index '<f9>' ':set from="[EMAIL PROTECTED]"<enter>' 'Send as wm' And you could even try: macro index '<f9>' ':set from="William Maddler <[EMAIL PROTECTED]>"<enter>' 'Send as wm' Hope that helps :) G'luck, Peter -- This sentence contradicts itself - or rather - well, no, actually it doesn't! On Mon, Dec 04, 2000 at 03:40:18PM +0100, William Maddler wrote: > > Hi all from a newcomer! :)) > As a welcome I have a nice Q... :))) > > I need to send mails using different address/signature couples... > I can use send_hooks for replying.... but can I use macros to issue a > "set my_hdr" command? > > I have: > macro index <f9> "set my_hdr From: [EMAIL PROTECTED]" "Send as wm" > > in .muttrc now but whe I press F9 Mutt says "no mailbox open". > > Any clue? Thx... > > Oh... I really need this to leave Pine and move to Mutt! ;))) > > thx... ----- End forwarded message -----