- 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:
parent
534855ddc8
commit
45080ea0d9
5 changed files with 116 additions and 17 deletions
|
|
@ -157,12 +157,12 @@ sub format {
|
|||
$content =~ s/&/&/g;
|
||||
$content =~ s/\</</g;
|
||||
$content =~ s/\>/>/g;
|
||||
$content =~ s/\n/\<br \/\>/g;
|
||||
$content =~ s/\n/\<br \/\>\n/g;
|
||||
$content =~ s/\t/ /g;
|
||||
}
|
||||
if ($contentType eq "mixed") {
|
||||
unless ($content =~ /\<div/ig || $content =~ /\<br/ig || $content =~ /\<p/ig) {
|
||||
$content =~ s/\n/\<br \/\>/g;
|
||||
$content =~ s/\n/\<br \/\>\n/g;
|
||||
}
|
||||
} elsif ($contentType eq "text") {
|
||||
$content =~ s/ / /g;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue