From 00795f97d2edc0dd9ddc602bd6931afae8e2763f Mon Sep 17 00:00:00 2001 From: uckelman Date: Wed, 14 Apr 2010 20:46:04 +0000 Subject: Added encoding headers. git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6716 67b53d14-2c14-4ace-a08f-0dab2b34000c --- src/F2M.php | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/F2M.php b/src/F2M.php index 519cff3..52d1eb2 100644 --- a/src/F2M.php +++ b/src/F2M.php @@ -72,12 +72,15 @@ function send_to_lists($user, $mode, $data, $post_data) { # Assemble the message headers $headers = array( - 'To' => $to, - 'From' => $from, - 'Subject' => $subject, - 'Date' => $date, - 'Message-Id' => $messageId, - 'X-BeenThere' => $forumURL, + 'To' => $to, + 'From' => $from, + 'Subject' => $subject, + 'Date' => $date, + 'Message-Id' => $messageId, + 'X-BeenThere' => $forumURL, + 'Content-Type' => 'text/plain; charset=UTF-8; format=flowed', + 'MIME-Version' => '1.0', + 'Conten-Transfer-Encoding' => '8bit' ); if ($inReplyTo !== null) { -- cgit v1.2.3