[Rt-commit] r7251 - in rt/branches/3.6-RELEASE: .
jesse at bestpractical.com
jesse at bestpractical.com
Wed Mar 14 14:24:00 EDT 2007
Author: jesse
Date: Wed Mar 14 14:23:59 2007
New Revision: 7251
Modified:
rt/branches/3.6-RELEASE/ (props changed)
rt/branches/3.6-RELEASE/lib/RT/Interface/Email.pm
Log:
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.6-RELEASE/lib/RT/Interface/Email.pm
==============================================================================
--- rt/branches/3.6-RELEASE/lib/RT/Interface/Email.pm (original)
+++ rt/branches/3.6-RELEASE/lib/RT/Interface/Email.pm Wed Mar 14 14:23:59 2007
@@ -728,7 +728,7 @@
if ( $id == 0 ) {
MailError(
To => $ErrorsTo,
- Subject => "Ticket creation failed",
+ Subject => "Ticket creation failed: $Subject",
Explanation => $ErrStr,
MIMEObj => $Message
);
@@ -747,7 +747,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
);
@@ -771,7 +771,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