[Rt-commit] [svn] r1645 - in rt/branches/3.2-RELEASE: .
lib/RT/Action
jesse at pallas.eruditorum.org
jesse at pallas.eruditorum.org
Sat Oct 9 11:25:08 EDT 2004
Author: jesse
Date: Sat Oct 9 11:25:08 2004
New Revision: 1645
Modified:
rt/branches/3.2-RELEASE/ (props changed)
rt/branches/3.2-RELEASE/lib/RT/Action/SendEmail.pm
Log:
r1984 at tinbook: jesse | 2004-10-09T15:25:45.405148Z
RT-Ticket: 5959
RT-Status: resolved
RT-Update: correspond
RT was sending 8-bit mail without setting the relevant content-tranfer-encoding header.
Modified: rt/branches/3.2-RELEASE/lib/RT/Action/SendEmail.pm
==============================================================================
--- rt/branches/3.2-RELEASE/lib/RT/Action/SendEmail.pm (original)
+++ rt/branches/3.2-RELEASE/lib/RT/Action/SendEmail.pm Sat Oct 9 11:25:08 2004
@@ -150,6 +150,10 @@
# try to convert message body from utf-8 to $RT::EmailOutputEncoding
$self->SetHeader( 'Content-Type', 'text/plain; charset="utf-8"' );
+ # fsck.com #5959: Since RT sends 8-bit mail, we should say so.
+ $self->SetHeader( 'Content-Transfer-Encoding','8-bit');
+
+
RT::I18N::SetMIMEEntityToEncoding( $MIMEObj, $RT::EmailOutputEncoding,
'mime_words_ok' );
$self->SetHeader( 'Content-Type', 'text/plain; charset="' . $RT::EmailOutputEncoding . '"' );
More information about the Rt-commit
mailing list