[rt-users] Strange behaviour with Outlook attachments

Adam Siecinski adam.siecinski at provadis.de
Fri Jul 25 01:48:58 EDT 2014


Thanks for your reply Kevin,

I think i figured it out. RT treats the Attachment like a 3rd party
correspondence. I'll try to export an email as soon as possible. But for now
I wrote a "work-around"-scrip.
Here's my scrip:


Condition: User Defined
Action: Notify requestors and Ccs
Template: Correspondence in HTML

Custom Condition:

my $Actor = $self->TransactionObj->CreatorObj->Id;
my $trt = $self->TransactionObj->Type;

return undef unless $self->TransactionObj->Type eq "Correspond";

if ($Actor != $self->TicketObj->OwnerObj->Id) {
   $RT::Logger->info("Actor != Owner and type is $trt ...Not Sending
Mail!");
   undef;
}
else{
   $RT::Logger->info("Actor = Owner! and it's $trt ... Sending Mail...");
   1;
}

Custom action preparation code:
Custom action commit code:



Best regards,
Adam




-----
Greetings,

Siecinski
--
View this message in context: http://requesttracker.8502.n7.nabble.com/Strange-behaviour-with-Outlook-attachments-tp57968p58052.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.



More information about the rt-users mailing list