[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mutt-users
Subject:    Re: mutt alias setting and add
From:       Ionel Mugurel Ciobica <tgakic () chem ! tue ! nl>
Date:       2011-03-10 9:36:03
Message-ID: 20110310093603.GA14520 () bucovina ! chem ! tue ! nl
[Download RAW message or body]

On 10-03-2011, at 15h 58'57", chris M. sprite wrote about "mutt alias setting and add"
> how to add alias in mutt index or pager ? 
> ( set  a macro ? any command can do this ? like <save-message> )

Have you try to press "a"?
> 
> can i set multi mail address for one alias like bellowing: 
> alias kkk kk is little <kk@gmail.com>, <kkk@hotmail.com> 
> ( i find that the mutt just use the last mail address when i set like upper ) 
> how to let mutt send to all of upper mail address ?
> 

try this (in your .muttrc):

alias k3  kkk <kkk@hotmail.com>
alias k2  kk  <kk@gmail.com>
alias k k2,k3

your example may work if you get rid of the space before the comma, as
well as the "kk is little", so it will became:

alias kkk kk@gmail.com,kkk@hotmail.com

If you need the set the names, then you must use some quotes:

alias k "kk <kk@gmail.com>","kkk <kkk@hotmail.com>"

So, remember, no spaces in e-mail address, if multiple, always use
comma, but no space before or after it. If you must use spaces (e.g.
to set names) always put full address in quotes.


Ionel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic