diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-06-20 12:05:42 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-06-20 12:05:42 +0000 |
| commit | 631b5e632b2522c6439c3df3287da0cc60201a34 (patch) | |
| tree | 7c8c8ba9245245c1ce1570bbe4ac69e8b650e8c6 /roundcubemail/program/steps | |
| parent | 960fb3ea401e7b96b3a09eca01a6482322186e04 (diff) | |
Flag original message as Forwarded when sending mail
git-svn-id: https://svn.roundcube.net/trunk@1565 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps')
| -rw-r--r-- | roundcubemail/program/steps/mail/compose.inc | 4 | ||||
| -rw-r--r-- | roundcubemail/program/steps/mail/sendmail.inc | 6 |
2 files changed, 4 insertions, 6 deletions
diff --git a/roundcubemail/program/steps/mail/compose.inc b/roundcubemail/program/steps/mail/compose.inc index 800a9de85..5d23c1533 100644 --- a/roundcubemail/program/steps/mail/compose.inc +++ b/roundcubemail/program/steps/mail/compose.inc @@ -105,10 +105,6 @@ if (!empty($msg_uid)) { $_SESSION['compose']['forward_uid'] = $msg_uid; } - else if ($compose_mode == RCUBE_COMPOSE_DRAFT) - { - $_SESSION['compose']['draft_uid'] = $msg_uid; - } } /****** compose mode functions ********/ diff --git a/roundcubemail/program/steps/mail/sendmail.inc b/roundcubemail/program/steps/mail/sendmail.inc index 44f2bdf6c..babde48b9 100644 --- a/roundcubemail/program/steps/mail/sendmail.inc +++ b/roundcubemail/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 |
