diff options
Diffstat (limited to 'program/steps')
-rw-r--r-- | program/steps/mail/func.inc | 2 | ||||
-rw-r--r-- | program/steps/mail/show.inc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index ae0d3a55c..ab4b2907a 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -1454,7 +1454,7 @@ function rcmail_send_mdn($message, &$smtp_error) if (!is_object($message) || !is_a($message, rcube_message)) $message = new rcube_message($message); - if ($message->headers->mdn_to && !$message->headers->mdn_sent && + if ($message->headers->mdn_to && !$message->headers->mdnsent && ($IMAP->check_permflag('MDNSENT') || $IMAP->check_permflag('*'))) { $identity = $RCMAIL->user->get_identity(); diff --git a/program/steps/mail/show.inc b/program/steps/mail/show.inc index 1472a9e61..ba172c7ae 100644 --- a/program/steps/mail/show.inc +++ b/program/steps/mail/show.inc @@ -77,7 +77,7 @@ if ($uid = get_input_value('_uid', RCUBE_INPUT_GET)) { // check for unset disposition notification if ($MESSAGE->headers->mdn_to && - !$MESSAGE->headers->mdn_sent && !$MESSAGE->headers->seen && + !$MESSAGE->headers->mdnsent && !$MESSAGE->headers->seen && ($IMAP->check_permflag('MDNSENT') || $IMAP->check_permflag('*')) && $mbox_name != $CONFIG['drafts_mbox'] && $mbox_name != $CONFIG['sent_mbox']) |