- Modified mercury32 preset in order to remove INBOX prefix in mercury32 4.01.
- Added peardb backend to change_password plugin.
- Tweak IMAP connection error display (#1203154).
+ - Gracefully recover from over quota error while sending a mail (#1145144).
Version 1.5.0 - 2 February 2004
-------------------------------
sqimap_logout($imap_stream);
}
if ($compose_new_win == '1') {
- Header("Location: $location/compose.php?saved_draft=yes&session=$composesession");
+ if ( !isset($pageheader_sent) || !$pageheader_sent ) {
+ Header("Location: $location/compose.php?saved_draft=yes&session=$composesession");
+ } else {
+ echo ' <br><br><center><a href="' . $location
+ . '/compose.php?saved_sent=yes&session=' . $composesession . '">'
+ . _("Return") . '</a></center>';
+ }
exit();
} else {
- Header("Location: $location/right_main.php?mailbox=" . urlencode($draft_folder) .
+ if ( !isset($pageheader_sent) || !$pageheader_sent ) {
+ Header("Location: $location/right_main.php?mailbox=" . urlencode($draft_folder) .
"&startMessage=1¬e=".urlencode($draft_message));
+ } else {
+ echo ' <br><br><center><a href="' . $location
+ . '/right_main.php?mailbox=' . urlencode($draft_folder)
+ . '&startMessage=1&note=' . urlencode($draft_message) .'">'
+ . _("Return") . '</a></center>';
+ }
exit();
}
}
sqimap_logout($imap_stream);
}
if ($compose_new_win == '1') {
- Header("Location: $location/compose.php?mail_sent=yes");
- }else {
- Header("Location: $location/right_main.php?mailbox=$urlMailbox".
- "&startMessage=$startMessage&mail_sent=yes");
+ if ( !isset($pageheader_sent) || !$pageheader_sent ) {
+ Header("Location: $location/compose.php?mail_sent=yes");
+ } else {
+ echo ' <br><br><center><a href="' . $location
+ . '/compose.php?mail_sent=yes">'
+ . _("Return") . '</a></center>';
+ }
+ exit();
+ } else {
+ if ( !isset($pageheader_sent) || !$pageheader_sent ) {
+ Header("Location: $location/right_main.php?mailbox=$urlMailbox".
+ "&startMessage=$startMessage&mail_sent=yes");
+ } else {
+ echo ' <br><br><center><a href="' . $location
+ . "/right_main.php?mailbox=$urlMailbox"
+ . "&startMessage=$startMessage&mail_sent=yes\">"
+ . _("Return") . '</a></center>';
+ }
+ exit();
}
} else {
if ($compose_new_win == '1') {
}
// vim: et ts=4
-?>
\ No newline at end of file
+?>