[rt-users] Distinguishing between mail and web interface in a Scrip

Niels Bakker niels=rt at bakker.net
Tue Aug 10 11:29:29 EDT 2004


Hi,

* rt at chaka.net (Todd Chapman) [Tue 10 Aug 2004, 15:53 CEST]:
> if ($self->TransactionObj->CreatorObj->Name eq 'RT_System') {
>     # created by system
> } else {
>     # created by web interface
> }

Doesn't work (on 3.0.11); incoming mails $self->...->Name gets set
to the username associated with the From: header in the mail.


	-- Niels.

-- 



More information about the rt-users mailing list