Email to forum not working from Mac
This commit is contained in:
parent
c1f65c614d
commit
748e56a3b3
4 changed files with 9 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
|||
7.3.16
|
||||
- fix: Wiki titles not automatically linked
|
||||
- fix: Email to forum not working from Mac
|
||||
- fix: Calendar Events Disappearing
|
||||
http://www.plainblack.com/bugs/tracker/calendar-events-disappearing
|
||||
- fix: Modified SQLForm.pm to handle MySQL null dates. Undefs them. Undef dates default to time(), i.e. today's date
|
||||
|
|
|
|||
|
|
@ -175,6 +175,11 @@ sub definition {
|
|||
fieldType=>"hidden",
|
||||
defaultValue=>undef
|
||||
},
|
||||
originalEmail => {
|
||||
noFormPost=>1,
|
||||
fieldType=>"hidden",
|
||||
defaultValue=>undef
|
||||
},
|
||||
dateSubmitted => {
|
||||
noFormPost=>1,
|
||||
fieldType=>"hidden",
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue