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

Niels Bakker niels=rt at bakker.net
Tue Aug 10 09:37:26 EDT 2004


Hi,

I'm trying to figure out a way to have a scrip act differently based on
whether a transaction was based on an incoming e-mail or something done
from the web interface.  Is there a hook for this?

(Perhaps check $self->TicketObj->Transactions->First->Message->First
 for existance of a header named `Received' via GetHeader method?
 Has anybody tried that before?  something like what's shown at
 <http://www.soundwave.net/~wmono/rt/> but doing it this way sounds
 a bit like a hack to me.)

Thanks,


	-- Niels.

-- 



More information about the rt-users mailing list