Hi Gary,
There might be a better way, but I use the GetHeader methof of the
Attachment class to see if the Ticket's first transaction has any
"Received" headers. No received headers means not e-mail.
I can't find an example at the moment, but it would be something like
if ( $self->TicketObj->Attachments->First->GetHeader("Received") ) ...
Gene
At 03:12 PM 10/15/2007, Gary Oberbrunner wrote:
Is it possible to tell whether a ticket is coming from email (all our tickets
from customers come in that way) or via the web ui (in which case it's entered
by a tech)? I'd like tickets entered via the web ui to get auto-assigned to
the person entering them.
thx,
-- Gary Oberbrunner
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com
--
Gene LeDuc, GSEC
Security Analyst
San Diego State University
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com