summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoruckelman <uckelman@nomic.net>2010-04-14 20:46:04 +0000
committeruckelman <uckelman@nomic.net>2010-04-14 20:46:04 +0000
commit00795f97d2edc0dd9ddc602bd6931afae8e2763f (patch)
treefb9dedd833d488e53a55f3fe98ba8526ff79094a /src
parentab9ab7b3cb50926bd77f52444a0c95b19335f40e (diff)
Added encoding headers.
git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6716 67b53d14-2c14-4ace-a08f-0dab2b34000c
Diffstat (limited to 'src')
-rw-r--r--src/F2M.php15
1 files 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) {