- fix: cs mail needs archive url

- fix: cs mail not sending in-reply-to and references headers
 - fix: cs mail doesn't like code via email
 - CS mail now sends out the email address of the poster as from, when it 
   exists.
This commit is contained in:
JT Smith 2006-07-19 18:37:33 +00:00
parent 534855ddc8
commit 45080ea0d9
5 changed files with 116 additions and 17 deletions

View file

@ -20,6 +20,7 @@ use base 'WebGUI::Workflow::Activity';
use WebGUI::Mail::Get;
use WebGUI::Mail::Send;
use WebGUI::Asset;
use WebGUI::HTML;
use WebGUI::International;
use WebGUI::User;
@ -78,7 +79,7 @@ sub addPost {
if (($part->{type} =~ /^text\/plain/ || $part->{type} =~ /^text\/html/) && $part->{filename} eq "") {
my $text = $part->{content};
if ($part->{type} eq "text/plain") {
$text =~ s/\n/\<br \/\>/g;
$text = WebGUI::HTML::format($text, "text");
}
$content .= $text;
} else {