'image_replacement', 'image_addrbook', 'highlight_text',
'highlight_simple_markup', 'show_quoteblocks', 'dim_signature',
'emoticons', 'parts_display', 'mail_hdr', 'default_msg_charset',
- 'disposition_send_mdn'
+ 'send_mdn'
)
);
);
// Send read receipts?
-$_prefs['disposition_send_mdn'] = array(
+$_prefs['send_mdn'] = array(
'value' => 1,
'advanced' => true,
'type' => 'enum',
// 2 => _("Prompt only if necessary; otherwise automatically send")
),
'desc' => _("Prompt to send read receipt (a/k/a message disposition notification) when requested by the sender?"),
- 'help' => 'prefs-disposition_send_mdn'
+ 'help' => 'prefs-send_mdn'
);
alternative_display
attachment_display
auto_delete_drafts
+ disposition_send_mdn
fckeditor_buttons
fetchmail_link
fetchmail_menu
($prefs->getValue('initial_page') == 'folders.php')) {
$prefs->setValue('initial_page', IMP_Prefs_Ui::PREF_FOLDER_PAGE);
}
+
+ if ($prefs->isDefault('send_mdn') &&
+ $prefs->getValue('disposition_send_mdn')) {
+ $prefs->setValue('send_mdn', 1);
+ }
}
/**
case 'viewing':
if (empty($conf['maillog']['use_maillog'])) {
- $ui->suppress[] = 'disposition_send_mdn';
+ $ui->suppress[] = 'send_mdn';
}
$mock_part = new Horde_Mime_Part();
public function MDNCheck($mailbox, $uid, $headers, $confirmed = false)
{
$imp_imap = $GLOBALS['injector']->getInstance('IMP_Injector_Factory_Imap')->create();
- $pref_val = $GLOBALS['prefs']->getValue('disposition_send_mdn');
+ $pref_val = $GLOBALS['prefs']->getValue('send_mdn');
if (!$pref_val || $imp_imap->isReadOnly($mailbox)) {
return false;
</para>
</entry>
-<entry id="prefs-disposition_send_mdn">
+<entry id="prefs-send_mdn">
<title>Preferences: Send Read Receipt</title>
<para>
"Send a MDN" sends a read receipt (also known as a Message Disposition Notification) when you view a message in which the user has requested that they receive notification that you have read the message. By default, you will be prompted to send the notification.