AutoReply Condition

Hi,

I want to add a IF condition for “On Create Autoreply To Requestors”.
I need this in order to not apply this scrip if the sender is a specific email address.
Unfortunately, I can’t understand how this can be achieved.

Regards,
Adi

I believe you’d just use a “User Defined” condition “On Create And Not By someone@exaple.com” where you check if the creator of the ticket:

return 0 unless $self->TransactionObj->Type eq "Create";
return 0 if $self->TransactionObj->CreatorObj->EmailAddress eq "someone@example.com";

return 1;

Thats pseudo code so you’ll need to figure out the exact syntax^

Thanks for your reply.
I just realized that we have some aliases for MTA and some exzchange rules.
So all emails received by RT are received from apache@webserver and this makes kinda impossible to achieve what I want.

Thanks again for your response :slight_smile: