summaryrefslogtreecommitdiff
path: root/program/steps/mail
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-05-01 10:40:46 +0200
committerAleksander Machniak <alec@alec.pl>2013-05-01 10:40:46 +0200
commit61943150d9c8dfdb710cc22b4cff1e54beaf7574 (patch)
treecdb8b01541d28a9abcf3ff6e3529c9d7e5719e72 /program/steps/mail
parentec433114236f9e1871ec5ff9d5d19de50ab236fd (diff)
Fix so Sender: address is added to Cc: field on reply to all (#1489011)
Diffstat (limited to 'program/steps/mail')
-rw-r--r--program/steps/mail/compose.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index 81b598377..cb22bf8ba 100644
--- a/program/steps/mail/compose.inc
+++ b/program/steps/mail/compose.inc
@@ -327,6 +327,8 @@ foreach ($parts as $header) {
$fvalue .= $v;
if ($v = $MESSAGE->headers->cc)
$fvalue .= (!empty($fvalue) ? $separator : '') . $v;
+ if ($v = $MESSAGE->headers->get('Sender', false))
+ $fvalue .= (!empty($fvalue) ? $separator : '') . $v;
}
}
else if (in_array($compose_mode, array(RCUBE_COMPOSE_DRAFT, RCUBE_COMPOSE_EDIT))) {