Email to forum not working from Mac

This commit is contained in:
JT Smith 2007-05-02 18:51:53 +00:00
parent c1f65c614d
commit 748e56a3b3
4 changed files with 9 additions and 0 deletions

View file

@ -175,6 +175,11 @@ sub definition {
fieldType=>"hidden",
defaultValue=>undef
},
originalEmail => {
noFormPost=>1,
fieldType=>"hidden",
defaultValue=>undef
},
dateSubmitted => {
noFormPost=>1,
fieldType=>"hidden",

View file

@ -117,6 +117,7 @@ Retrieves the next available message from the server. Returns undef if there are
subject => 'This is my message subject',
inReplyTo => 'some-message-id',
messageId => 'some-message-id',
rawMessage => 'some mime encoded message',
date => 1144536119,
parts => [
{
@ -195,6 +196,7 @@ sub getNextMessage {
my $inReplyTo = $head->get("In-Reply-To") || $head->get("References") || undef;
chomp($inReplyTo);
my %data = (
rawMessage=> $rawMessage,
to => $to,
from => $from,
cc => $cc,

View file

@ -115,6 +115,7 @@ sub addPost {
content=>$content,
ownerUserId=>$user->userId,
username=>$user->profileField("alias") || $user->username,
originalEmail=>$message->{rawMessage}
});
if (scalar(@attachments)) {
my $storage = $post->getStorageLocation;