alecpl
2009-07-31 e54bb72d30cfd88fcef5434b472fb3d9b2cca710
program/steps/mail/show.inc
@@ -78,7 +78,7 @@
    $OUTPUT->set_env('trash_mailbox', $CONFIG['trash_mbox']);
  if (!$OUTPUT->ajax_call)
    $OUTPUT->add_label('checkingmail', 'deletemessage', 'movemessagetotrash', 'movingmessage');
  // check for unset disposition notification
  if ($MESSAGE->headers->mdn_to &&
      !$MESSAGE->headers->mdn_sent && !$MESSAGE->headers->seen &&
@@ -143,6 +143,9 @@
      $OUTPUT->set_env('last_uid', $last);
    }
  if ($CONFIG['display_next'])
    $OUTPUT->set_env('display_next', true);
  if (!$MESSAGE->headers->seen)
    $RCMAIL->plugins->exec_hook('message_read', array('uid' => $MESSAGE->uid,
      'mailbox' => $IMAP->mailbox, 'message' => $MESSAGE));