bug 3141: use quoted printable encoding in cart/list emails
Ensure that emails sent from lists and the cart in the OPAC have the correct quoted-printable encoding. Otherwise, if there is an equals sign followed by one or two characters that look like hexadecimal digits in body of the email, the results can look mangled in some email clients. Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
parent
475fcc1f51
commit
696fc0ff22
|
|
@ -118,7 +118,7 @@ if ( $email_add ) {
|
|||
$email_file = $1;
|
||||
}
|
||||
|
||||
if ( $template_res =~ /<MESSAGE>\n(.*)\n<END_MESSAGE>/s ) { $body = $1; }
|
||||
if ( $template_res =~ /<MESSAGE>\n(.*)\n<END_MESSAGE>/s ) { $body = encode_qp($1); }
|
||||
|
||||
my $boundary = "====" . time() . "====";
|
||||
|
||||
|
|
|
|||
|
|
@ -124,7 +124,7 @@ if ( $email ) {
|
|||
$email_file = $1;
|
||||
}
|
||||
|
||||
if ( $template_res =~ /<MESSAGE>\n(.*)\n<END_MESSAGE>/s ) { $body = $1; }
|
||||
if ( $template_res =~ /<MESSAGE>\n(.*)\n<END_MESSAGE>/s ) { $body = encode_qp($1); }
|
||||
|
||||
my $boundary = "====" . time() . "====";
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue