Skip to content

Commit

Permalink
Fix merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
jcameron committed Dec 2, 2020
2 parents 73db161 + 9e8c295 commit 33b13ef
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions virtual-server-lib-funcs.pl
Original file line number Diff line number Diff line change
Expand Up @@ -4423,11 +4423,8 @@ sub send_template_email
local $ctype = $template =~ /<html[^>]*>|<body[^>]*>/i ? "text/html"
: "text/plain";
local $cs = &get_charset();
$ctype .= '; charset='.$cs;
local $attach = $template =~ /^[\000-\177]*$/ ?
{ 'headers' => [ [ 'Content-type', $ctype ] ],
'data' => &entities_to_ascii($template) } :
{ 'headers' => [ [ 'Content-Type', $ctype ],
local $attach =
{ 'headers' => [ [ 'Content-Type', $ctype.'; charset='.$cs ],
[ 'Content-Transfer-Encoding', 'quoted-printable' ] ],
'data' => &mailboxes::quoted_encode($template) };

Expand Down

0 comments on commit 33b13ef

Please sign in to comment.