7795829eff04cc87e7e563bdf27abed359cd12bb
2 if (!isset($config_php))
3 include("../config/config.php");
4 if (!isset($strings_php))
5 include("../functions/strings.php");
6 if (!isset($page_header_php))
7 include("../functions/page_header.php");
8 if (!isset($display_message_php))
9 include("../functions/display_messages.php");
10 if (!isset($imap_php))
11 include("../functions/imap.php");
13 include("../src/load_prefs.php");
15 echo "<HTML><BODY TEXT=\"$color[8]\" BGCOLOR=\"$color[4]\" LINK=\"$color[7]\" VLINK=\"$color[7]\" ALINK=\"$color[7]\">\n";
17 $imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0);
18 sqimap_mailbox_select($imapConnection, $mailbox);
20 displayPageHeader($color, $mailbox);
22 sqimap_messages_delete($imapConnection, $message, $message, $mailbox);
23 messages_deleted_message($mailbox, $sort, $startMessage, $color);