[Rt-commit] r7907 - in rt/branches/3.7-EXPERIMENTAL-RTIR-2.2: .

ruz at bestpractical.com ruz at bestpractical.com
Tue May 22 02:46:55 EDT 2007


Author: ruz
Date: Tue May 22 02:46:54 2007
New Revision: 7907

Modified:
   rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/   (props changed)
   rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/lib/RT/Interface/Email.pm

Log:
 r4765 at cubic-pc (orig r7251):  jesse | 2007-03-14 21:23:59 +0300
  r53425 at pinglin:  jesse | 2007-03-14 13:40:45 -0400
  RT-Ticket:  8252
  RT-Status: resolved
  RT-Update: correspond
  
  
  * Include subject of bounced messages when mailing the RT owner about a mail error <pere at hungry.com>
  
  
  
 


Modified: rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/lib/RT/Interface/Email.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/lib/RT/Interface/Email.pm	(original)
+++ rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/lib/RT/Interface/Email.pm	Tue May 22 02:46:54 2007
@@ -818,7 +818,7 @@
         if ( $id == 0 ) {
             MailError(
                 To          => $ErrorsTo,
-                Subject     => "Ticket creation failed",
+                Subject     => "Ticket creation failed: $Subject",
                 Explanation => $ErrStr,
                 MIMEObj     => $Message
             );
@@ -836,7 +836,7 @@
             my $error = "Could not find a ticket with id " . $args{'ticket'};
             MailError(
                 To          => $ErrorsTo,
-                Subject     => "Message not recorded",
+                Subject     => "Message not recorded: $Subject",
                 Explanation => $error,
                 MIMEObj     => $Message
             );
@@ -867,7 +867,7 @@
                 #Warn the sender that we couldn't actually submit the comment.
                 MailError(
                     To          => $ErrorsTo,
-                    Subject     => "Message not recorded",
+                    Subject     => "Message not recorded: $Subject",
                     Explanation => $msg,
                     MIMEObj     => $Message
                 );


More information about the Rt-commit mailing list