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