On Wed, Aug 15, 2012 at 09:50:15AM -0300, Marcelo Laia wrote:
> Hi,
> 
> How I would change the current profile on the fly?
> 
> I have 3 account and I would like to send mails with my username
> according to current account.

maybe this approach is a bit rude, but:

        macro compose H '<enter-command>set sendmail="~/bin/msmtpQ -a 
hotmail"<enter><edit-from>Marco Giusti 
<marco.giu...@hotmail.com><enter><edit-reply-to>marco.giu...@hotmail.com<enter>'
 "Send email with hotmail account"
        macro compose G '<enter-command>set sendmail="~/bin/msmtpQ -a 
gmail"<enter><edit-from>Marco Giusti 
<marco.giu...@gmail.com><enter><edit-reply-to>marco.giu...@gmail.com<enter>' 
"Send email with gmail account"

in addiction to some send-hooks.

m.

Reply via email to