From: stekkel Date: Fri, 16 Aug 2002 12:54:59 +0000 (+0000) Subject: don't allow send read_receipts (MDN) if the message is a message/rfc822 X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=27ff41bd479e645ba62d0dedc33521c92e006ee1;ds=sidebyside don't allow send read_receipts (MDN) if the message is a message/rfc822 attachment. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3327 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/src/read_body.php b/src/read_body.php index 88fae555..dac38c8a 100644 --- a/src/read_body.php +++ b/src/read_body.php @@ -340,7 +340,9 @@ function formatEnvheader($mailbox, $passed_id, $passed_ent_id, $message, $env[_("Read receipt")] = _("send"); } else { if ( !($mailbox == $draft_folder || - $mailbox == $sent_folder || $message->is_deleted)) { + $mailbox == $sent_folder || + $message->is_deleted || + $passed_ent_id)) { $mdn_url = $PHP_SELF . '&sendreceipt=1'; if ($FirstTimeSee && $javascript_on) { $script = '