When sending an address literal to an SMTP EHLO command, do it with the right syntax
[squirrelmail.git] / src / download.php
index 65a56dd88c24372df4a6a82ea9aeaaf190686778..655aa76ee770ea4199b86c12cafa474e66c0dd64 100644 (file)
@@ -6,7 +6,7 @@
  * Handles attachment downloads to the users computer.
  * Also allows displaying of attachments when possible.
  *
- * @copyright © 1999-2007 The SquirrelMail Project Team
+ * @copyright © 1999-2009 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
@@ -87,7 +87,7 @@ if ($ent_id) {
     /* raw message */
     $type0 = 'message';
     $type1 = 'rfc822';
-    $encoding = 'US-ASCII';
+    $encoding = '7bit';
     $header = $message->header;
 }