[Rt-commit] r9445 - rt/branches/3.6-RELEASE/lib/RT/Action

tla at bestpractical.com tla at bestpractical.com
Wed Oct 24 18:03:16 EDT 2007


Author: tla
Date: Wed Oct 24 18:03:16 2007
New Revision: 9445

Modified:
   rt/branches/3.6-RELEASE/lib/RT/Action/SendEmail.pm

Log:
Save the transaction ID of the outgoing message transaction

Modified: rt/branches/3.6-RELEASE/lib/RT/Action/SendEmail.pm
==============================================================================
--- rt/branches/3.6-RELEASE/lib/RT/Action/SendEmail.pm	(original)
+++ rt/branches/3.6-RELEASE/lib/RT/Action/SendEmail.pm	Wed Oct 24 18:03:16 2007
@@ -473,7 +473,11 @@
         ActivateScrips => 0
     );
 
-
+    if( $id ) {
+	$self->{'OutgoingMessageTransaction'} = $id;
+    } else {
+	$RT::Logger->warning( "Could not record outgoing message transaction: $msg" );
+    }
 }
 
 # }}}


More information about the Rt-commit mailing list