Uses the brand new configuration directive email_address to set the
[squirrelmail.git] / src / delete_message.php
CommitLineData
d4467150 1<?
2 include("../config/config.php");
d4467150 3 include("../functions/strings.php");
4 include("../functions/page_header.php");
5 include("../functions/display_messages.php");
6 include("../functions/imap.php");
7
d3cdb279 8 include("../src/load_prefs.php");
9
f8f9bed9 10 echo "<HTML><BODY TEXT=\"$color[8]\" BGCOLOR=\"$color[4]\" LINK=\"$color[7]\" VLINK=\"$color[7]\" ALINK=\"$color[7]\">\n";
11
813eba2f 12 $imapConnection = sqimap_login($username, $key, $imapServerAddress, 0);
13 sqimap_mailbox_select($imapConnection, $mailbox);
d4467150 14
f8f9bed9 15 displayPageHeader($color, $mailbox);
d4467150 16
813eba2f 17 sqimap_message_delete($imapConnection, $message, $message, $mailbox);
d92b6f31 18 messages_deleted_message($mailbox, $sort, $startMessage, $color);
d4467150 19?>
b235d629 20</BODY></HTML>