In that case, you would have to do a SQL query:

SELECT Headers FROM Attachments WHERE Headers LIKE '%To:
<[EMAIL PROTECTED]>%';

If you only want this for when a new ticket was created via email
(rather than for responses to those tickets), add:
AND Headers NOT LIKE '%Thread-Topic: [<yourdomainname.com>%'

Or whatever you have set as $rtname in RT_SiteConfig.pm.  And then have
a Perl script that just greps out the From: line from all of those
headers.

Thanks.  That's what I was leaning towards if RT didn't have an explicit
way to do it via the search API.

Travis

--
 Travis Campbell  -  Unix Systems Administrator =    [EMAIL PROTECTED]
    5900 E. Ben White Blvd, Austin, TX 78741    =     [EMAIL PROTECTED]
    TEL: (512) 602-1888  PAG: (512) 604-0341    = [EMAIL PROTECTED]
=============================================================================
      "Does anything work as expected?"  Yes.  An axe through the CPU.

_______________________________________________
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


We're hiring! Come hack Perl for Best Practical: 
http://bestpractical.com/about/jobs.html

Reply via email to