X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=functions%2Fcompose.php;h=471768249998fe61e3f4201d114c22fc4766e629;hb=9ae70b623b5bda18ee4b60d9481d49d057b2f508;hp=8ba705489e93e5aaa4fa344cab47ab70138419eb;hpb=c0d968010e710870fdfee2f22d7cc9fad370c7a9;p=squirrelmail.git diff --git a/functions/compose.php b/functions/compose.php index 8ba70548..47176824 100644 --- a/functions/compose.php +++ b/functions/compose.php @@ -6,7 +6,7 @@ * Functions for message compositon: writing a message, attaching files etc. * * @author Thijs Kinkhorst - * @copyright 1999-2012 The SquirrelMail Project Team + * @copyright 1999-2014 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package squirrelmail @@ -105,9 +105,9 @@ function sq_send_mail($to, $subject, $body, $from, $cc='', $bcc='', $message='') $content_type = new ContentType('text/plain'); global $special_encoding, $default_charset; if ($special_encoding) - $rfc822_header->encoding = $special_encoding; + $header->encoding = $special_encoding; else - $rfc822_header->encoding = '8bit'; + $header->encoding = '8bit'; if ($default_charset) $content_type->properties['charset']=$default_charset; $header->content_type = $content_type;