Excerpts from Vojtěch Aschenbrenner's message of Mon Jul 19 14:55:21 -0400 2010:
> is it possible to configure sup to save sent messages to different
> folders according to mail account? For example if I send mail from
> school account save message to school/sent and if I send mail from
> personal account save it to personal/sent?
Not sure. Maybe somebody else can help with this.
> Next think is, when writing new mail, how to specify which account use?
> Everytime is used default account.
I think you can do this with ~/.sup/hooks/before-send.rb . Here's mine
(actual company name replaced with "widgets"):
unless header["In-reply-to"]
if header["To"] =~ /widgets/
header["From"] = "Mark Alexander <[email protected]>"
else
header["From"] = "Mark Alexander <[email protected]>"
end
end
There are two corresponding accounts in ~/.sup/config.yaml.
_______________________________________________
sup-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/sup-talk