diff options
author | thomascube <thomas@roundcube.net> | 2008-06-20 12:05:42 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2008-06-20 12:05:42 +0000 |
commit | 4dae735feb47918008e289f19d7d5d17462a0682 (patch) | |
tree | abf777f2cff253f5d31f771e0288955ace19dfa0 /program/steps/mail/sendmail.inc | |
parent | fde466c58c004e8f7eff7b59c78f62eef250cde9 (diff) |
Flag original message as Forwarded when sending mail
Diffstat (limited to 'program/steps/mail/sendmail.inc')
-rw-r--r-- | program/steps/mail/sendmail.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/program/steps/mail/sendmail.inc b/program/steps/mail/sendmail.inc index 44f2bdf6c..babde48b9 100644 --- a/program/steps/mail/sendmail.inc +++ b/program/steps/mail/sendmail.inc @@ -348,11 +348,13 @@ if (!$savedraft) return; } - // set repliead flag + // set replied/forwarded flag if ($_SESSION['compose']['reply_uid']) $IMAP->set_flag($_SESSION['compose']['reply_uid'], 'ANSWERED'); + else if ($_SESSION['compose']['forward_uid']) + $IMAP->set_flag($_SESSION['compose']['forward_uid'], 'FORWARDED'); - } // End of SMTP Delivery Block +} // End of SMTP Delivery Block |