Subject: [sup-talk] More accounts, more send folders, etc.

From: Vojtěch Aschenbrenner <[email-masked]>
Date: Mon, 19 Jul 2010 20:55:21 +0200

Hi folks,

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?

Next think is, when writing new mail, how to specify which account use?
Everytime is used default account.

Sup has really great idea with huge mailbox and power of searching, but
these 2 things are important for me.

Thanks!
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk

---

From: Damien Leone <[email-masked]>
Date: Mon, 19 Jul 2010 21:28:28 +0200

Hi,

> personal account save it to personal/sent?

AFAIK, it's not (yet) possible.

> Everytime is used default account.

There is a ask_for_from option that will allow you to select your
account before composing a new mail.

Also, there are patches on sup-devel that add an account-selector in
every edit buffers.

Cheers,

--
Damien Leone <[email-masked]>

Web: http://dleone.fensalir.fr/
GPG: 0x82EB4DDF
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk

---

From: Mark Alexander <[email-masked]>
Date: Mon, 19 Jul 2010 15:47:32 -0400

> personal account save it to personal/sent?

Not sure.  Maybe somebody else can help with this.

> 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-masked]>"
  else
    header["From"] = "Mark Alexander <[email-masked]>"
  end
end

There are two corresponding accounts in ~/.sup/config.yaml.
_______________________________________________
sup-talk mailing list
[email-masked]
http://rubyforge.org/mailman/listinfo/sup-talk