On Feb 14, 2007, at 8:05 PM, Joe Casadonte wrote:
Is there any way, specifically in a scrip, to determine if the ticket just created was done via the Web UI or via an email? I would like to disable auto-replies for web transactions where the requestor is also the principal (they get instant feedback; they don't need or want the additional email).
Ha! I spent some time doing this a couple of weeks ago... I came up with this:
my $co = $self->TransactionObj->ContentObj;
...
if ($co->GetHeader('Received')) { # came via email }
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ 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
