[rt-users] Scrips - email or web interface?
Stephen Turner
sturner at MIT.EDU
Thu May 19 11:59:06 EDT 2005
At Thursday 5/19/2005 08:23 AM, Ruslan Zakirov wrote:
>Stephen Turner wrote:
>
>>Is there a way in an "OnCorrespond" scrip to determine whether the
>>correspondence was sent to RT by email or was entered through the web
>>interface?
>
>I use "recieved header field" hack for that. Email has that field always.
Thanks Ruslan -
I had already tried something else that seems to work - looking at the
MessageId attribute of the transaction's message attachment. It seems that
email messages have a value in there, web replies don't. Can someone
confirm or deny if my assumption is true?
if ($self->TransactionObj->Message->First->MessageId
>>Thanks,
>>Steve
>>
>>_______________________________________________
>>http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>>
>>Be sure to check out the RT Wiki at http://wiki.bestpractical.com
>
>_______________________________________________
>http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
>Be sure to check out the RT Wiki at http://wiki.bestpractical.com
Stephen Turner
Senior Programmer/Analyst - Client Support Services
MIT Information Services and Technology (IS&T)
More information about the rt-users
mailing list