Skip to content
Permalink
Browse files

#13787 issue -- and general core repair

  • Loading branch information...
pbdavidn authored and perlDreamer committed Feb 23, 2012
1 parent 3b544ee commit ff28ef9dc1f39007b3fa69b870ba52a8f9bac4ad
Showing with 8 additions and 1 deletion.
  1. +8 −1 lib/WebGUI/Mail/Send.pm
@@ -343,7 +343,14 @@ sub create {
}
}
}
my $from = $headers->{from} || $session->setting->get('companyName') . " <".$session->setting->get("companyEmail").">";
my $from = $headers->{from};
$from ||= do {
my $CoNa = $session->setting->get('companyName');
my $CoEm = $session->setting->get("companyEmail");
$CoNa =~ s/"//g;
qq{"$CoNa" <$CoEm>}
};

my $type = $headers->{contentType} || "multipart/mixed";
my $replyTo = $headers->{replyTo} || $session->setting->get("mailReturnPath");

0 comments on commit ff28ef9

Please sign in to comment.
You can’t perform that action at this time.