$destination = 'retrievalerror@squirrelmail.org';
$attachments = array();
+/* globals */
+
+$key = $_COOKIE['key'];
+$username = $_SESSION['username'];
+$onetimepad = $_SESSION['onetimepad'];
+
+$mailbox = $_GET['mailbox'];
+$passed_id = $_GET['passed_id'];
+$startMessage = $_GET['startMessage'];
+$show_more = $_GET['show_more'];
+$response = $_GET['response'];
+$message = $_GET['message'];
+$topline = $_GET['topline'];
+
+if(isset($_GET['where'])) {
+ $where = $_GET['where'];
+}
+if(isset($_GET['what'])) {
+ $what = $_GET['what'];
+}
+
+/* end globals */
+
function ClearAttachments() {
global $attachments, $attachment_dir, $username;