Account for case when no reply-to is set in user prefs
[squirrelmail.git] / src / mailto.php
index 6696ccbf64b8a890e31df49998db64b9bf0ca09c..1c6c5673e15367d58417bd66d6b6e09fa45760bd 100644 (file)
@@ -27,7 +27,7 @@
  * see ../contrib/squirrelmail.mailto.NT2KXP.reg for a Windows Registry file
  * that will set this up in the most robust manner.
  *
- * @copyright 1999-2009 The SquirrelMail Project Team
+ * @copyright 1999-2012 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
@@ -64,7 +64,11 @@ $force_login = FALSE;
 $compose_only = FALSE;
 
 
+// Disable browser caching
+//
+header('Cache-Control: no-cache, no-store, must-revalidate, max-age=0');
 header('Pragma: no-cache');
+header('Expires: Sat, 1 Jan 2000 00:00:00 GMT');
 
 $trtable = array('cc'           => 'cc',
                  'bcc'          => 'bcc',