Choose default sender email address by envelope recipient
authorWilfried Goesgens <dothebart@citadel.org>
Wed, 5 Dec 2012 22:44:38 +0000 (23:44 +0100)
committerWilfried Goesgens <dothebart@citadel.org>
Wed, 5 Dec 2012 22:44:38 +0000 (23:44 +0100)
commitf81a5a37a8c492f1061c8cca886d820acc9e3fb6
tree8f612249a51f3c030d165c83ed1b865462b4adc4
parent79c0618b2508fce72f03b2d1cd7c9894b38103e8
Choose default sender email address by envelope recipient

  - propagate the stored 'enVelopeto' to the citadel protocol as 'nvto' header; nvto may contain several recipients.
  - add handlers to read nvto in webcit
  - evaluate which should be the prefered chosen default sender while loading the GVEA Hash instead of while rendering the template
  - if we are replying to an email, base choice on the nvto-header if it exists.
  - in all other cases use the preference chosen in the prefs-screen
citadel/msgbase.c
webcit/messages.c
webcit/messages.h
webcit/msg_renderers.c
webcit/preferences.c
webcit/static/t/prefs/section_msg_sender_from_select.html