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:
Galen Charlton 2009-04-18 18:25:42 -05:00
parent 475fcc1f51
commit 696fc0ff22
2 changed files with 2 additions and 2 deletions

View File

@ -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() . "====";

View File

@ -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() . "====";