summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruckelman <uckelman@nomic.net>2010-07-17 13:07:42 +0000
committeruckelman <uckelman@nomic.net>2010-07-17 13:07:42 +0000
commitd70874edd349f02a30832656a39cfdd740abb1e0 (patch)
treed63f3b8a253788313cfd6e27260675766b6d5635
parent222ef63558938c27c38b302bfb6a4f71bcd4c1b0 (diff)
Must include Sender header in forum->list messages to allow passage of messages from users not subscribed to the list.
git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6997 67b53d14-2c14-4ace-a08f-0dab2b34000c
-rw-r--r--src/forum_post_send.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/forum_post_send.php b/src/forum_post_send.php
index d179226..386e7f5 100644
--- a/src/forum_post_send.php
+++ b/src/forum_post_send.php
@@ -55,7 +55,7 @@ function send_post_to_lists($config, $user, $mode, $data, $post_data) {
$userEmail = $user->data['user_email'];
$from = utf8_quote($userName) . ' <' . $userEmail . '>';
- $sender = 'forum@test.nomic.net';
+ $sender = 'forum-bridge@test2.nomic.net';
$subject = utf8_quote($post_data['post_subject']);
$phpbb = new PhpBB3();
@@ -101,6 +101,7 @@ function send_post_to_lists($config, $user, $mode, $data, $post_data) {
$headers = array(
'To' => $to,
'From' => $from,
+ 'Sender' => $sender,
'Subject' => $subject,
'Date' => $date,
'Message-ID' => $messageId,