X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;ds=sidebyside;f=functions%2Fcompose.php;h=43a5adc4a71715b01f4512c6fb2f7fecc4663425;hb=b4d528823ec03ff0482dd244a4186e06a0bdd001;hp=5839a592e369ca2e6c7a62c198f1e768663ce0a4;hpb=783e926eb2c99b6a55bdf774b64afa7828e5732b;p=squirrelmail.git diff --git a/functions/compose.php b/functions/compose.php index 5839a592..43a5adc4 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-2007 The SquirrelMail Project Team + * @copyright 1999-2016 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;