[Rt-commit] [svn] r1198 - in rt/branches/rt-3.1: . lib/RT/Action
jesse at pallas.eruditorum.org
jesse at pallas.eruditorum.org
Fri Jul 9 13:55:44 EDT 2004
Author: jesse
Date: Fri Jul 9 13:55:43 2004
New Revision: 1198
Modified:
rt/branches/rt-3.1/ (props changed)
rt/branches/rt-3.1/lib/RT/Action/SendEmail.pm
Log:
----------------------------------------------------------------------
r2095 at tinbook: jesse | 2004-07-09T17:06:56.744260Z
----------------------------------------------------------------------
r2096 at tinbook: jesse | 2004-07-09T17:55:13.811842Z
RT-Ticket: 5800
RT-Status: resolved
RT now stores sent messages in the database as utf-8.
----------------------------------------------------------------------
Modified: rt/branches/rt-3.1/lib/RT/Action/SendEmail.pm
==============================================================================
--- rt/branches/rt-3.1/lib/RT/Action/SendEmail.pm (original)
+++ rt/branches/rt-3.1/lib/RT/Action/SendEmail.pm Fri Jul 9 13:55:43 2004
@@ -336,6 +336,9 @@
my $self = shift;
my $MIMEObj = shift;
+
+ RT::I18N::SetMIMEEntityToEncoding( $MIMEObj, 'utf-8', 'mime_words_ok' );
+
my $transaction = RT::Transaction->new($self->TransactionObj->CurrentUser);
# XXX: TODO -> Record attachments as references to things in the attachments table, maybe.
@@ -348,6 +351,7 @@
}
+
my ($id, $msg) = $transaction->Create( Ticket => $self->TicketObj->Id, Type => $type, Data => $MIMEObj->head->get('Message-Id'), MIMEObj => $MIMEObj, ActivateScrips => 0);
More information about the Rt-commit
mailing list