On Mon, Feb 06, 2012 at 03:52:08PM +0100, nb wrote:
> Le 2012-02-06 08:50, Patrick Shanahan a ?crit :
> > * Marcelo Luiz de Laia <[email protected]> [02-06-12 07:26]:
> > > 
> > > When I was in my Gmail mbox, I need that all replaies is sent by gmail
> > > smtp. So, I need to set, on the fly, gmail profile and sig.
> > 
> > :source gmail.profile
> >  
> > > When I was in my Yahoo mbox,  I need that all replaies is sent by yahoo
> > > smtp. So, I need to set, on the fly, yahoo profile and sig.
> > 
> > :source yahoo.profile
> >  
> > > When I was in my Work mbox,  I need that all replaies is sent by work
> > > smtp. So, I need to set, on the fly, work profile and sig.
> > 
> > :source work.profile
> 
> That's right
> But it's better in conjunction with "folder-hook".
> Thus, when you change folder, you also change the profile. It's
> automatic. That's what I do because I use 3 different accounts with 3
> associated smtp servers.
> In the profile file you can put : set hostname, from, use_envelope_from,
> envelope_from_address, postponed, record, trash, and of course smtp_url
> 
> account-hook is also usefull for changing imap_user...
> 
> !DSPAM:4f2fe9bb2251855819418!
> 
> 
so what happens if you are in your yahoo folder, for example, but then need to 
write and send an email using your gmail account settings? You would have to 
change into that folder just so the necessary settings become usable. I found 
that to be a PITA. send-hook can be used to overcome that. You may not find 
having to change folders for that purpose a problem so it wouldn't matter but 
it's something else to think about. 

Jamie

Reply via email to