diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2007-11-29 14:17:32 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2007-11-29 14:17:32 +0000 |
| commit | 68d70fb899dcf057f731f0cd038d65bc49dea2a8 (patch) | |
| tree | 394425eddbcacab5bbadd5351efe6f7671302abe /roundcubemail/program/steps/mail | |
| parent | 94cf2f11feeb8448995f83967f032768dd7c05df (diff) | |
Track message disposition notification flag and headers
git-svn-id: https://svn.roundcube.net/trunk@933 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail')
| -rw-r--r-- | roundcubemail/program/steps/mail/show.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/roundcubemail/program/steps/mail/show.inc b/roundcubemail/program/steps/mail/show.inc index 4dcdec362..022edb0ed 100644 --- a/roundcubemail/program/steps/mail/show.inc +++ b/roundcubemail/program/steps/mail/show.inc @@ -72,6 +72,10 @@ if ($_GET['_uid']) // give message uid to the client $OUTPUT->set_env('uid', $MESSAGE['UID']); $OUTPUT->set_env('safemode', intval($_GET['_safe'])); + + // check for unset disposition notification + if ($MESSAGE['headers']->mdn_to && !$MESSAGE['headers']->mdn_sent) + $OUTPUT->set_env('mdn_request', true); $next = $prev = -1; // get previous, first, next and last message UID |
