ChangeLog
[squirrelmail.git] / plugins / listcommands / mailout.php
index 666f96ee7cdb5c64e38d2215dd99b3b6d6b04784..56b8416c4520782da4e992e3e5fa9488dded67e7 100644 (file)
@@ -2,7 +2,7 @@
 /**
  * mailout.php
  *
- * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Copyright (c) 1999-2003 The SquirrelMail Project Team
  * Licensed under the GNU GPL. For full terms see the file COPYING.
  *
  * $Id$
@@ -19,11 +19,11 @@ include_once(SM_PATH . 'functions/html.php');
 displayPageHeader($color, $mailbox);
 
 /* get globals */
-$mailbox = $_GET['mailbox'];
-$send_to = $_GET['send_to'];
-$subject = $_GET['subject'];
-$body    = $_GET['body'];
-$action  = $_GET['action'];
+sqgetGlobalVar('mailbox', $mailbox, SQ_GET);
+sqgetGlobalVar('send_to', $send_to, SQ_GET);
+sqgetGlobalVar('subject', $subject, SQ_GET);
+sqgetGlobalVar('body',    $body,    SQ_GET);
+sqgetGlobalVar('action',  $action,  SQ_GET);
 
 echo html_tag('p', '', 'left' ) .
 html_tag( 'table', '', 'center', $color[0], 'border="0" width="75%"' ) . "\n" .