[rt-users] Different template according to requestor email address
andkulb
andrius.kulbis at gmail.com
Fri May 30 03:59:48 EDT 2014
Hello,
There are tickets coming from internal users (@interal.aa) and from external
users (@gmail.com, @yahoo.com, etc).
I want to send different king of template according to requestor address.
Subject: {$Ticket->Subject}
Content-Type: text/html
{
if($Ticket->RequestorAddresses =~ /@internal.aa/) {
"You are internal"
} else {
"You are external"
}
}
Everything works fine if there are only one requestor (aaa at internal.aa or
aaa at google.com), but if there are situation like this (aaa at internal.aa,
aaa at gmail.com) both, the gmail.com and internal.aa mails get message saying
"You are internal".
How can I separate these to get different messages according to their email
address?
--
View this message in context: http://requesttracker.8502.n7.nabble.com/Different-template-according-to-requestor-email-address-tp57533.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.
More information about the rt-users
mailing list