[rt-users] Assigning owner on inbound email
Erik Peterson
epeterson at edc.org
Thu Jun 21 07:44:20 EDT 2007
I have a scrip that does just this. We have the two addresses: help and
dc_help pointing to the same queue, but dc_help should be assigned to
one person in particular.
The Condition is "On Create" and the Action is "User Defined" with a
global template of "Blank".
The custom action preparation code is: "1;" and the custom action
cleanup code is:
my $header = 'To';
if ($self->TransactionObj->Attachments->First->GetHeader($header) =~
/dc_help/) {
$self->TicketObj->SetOwner(7602);
}
1;
Hope that's helpful.
_Erik
From: rt-users-bounces at lists.bestpractical.com
[mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Chance
Ervin
Sent: Wednesday, June 20, 2007 9:18 PM
To: Chance Ervin; rt-users at lists.bestpractical.com
Subject: RE: [rt-users] Assigning owner on inbound email
Looks like this is done with Scrips and not with the mailgate.
________________________________
From: rt-users-bounces at lists.bestpractical.com
[mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Chance
Ervin
Sent: Wednesday, June 20, 2007 5:29 PM
To: rt-users at lists.bestpractical.com
Subject: [rt-users] Assigning owner on inbound email
MTA: sendmail
I have configured the aliases file so that emails sent to a certain
address are automatically placed in the proper queue. I used the
following:
rt-requisitions: "|/opt/rt3/bin/rt-mailgate --queue 'Purchase
Requisitions' --action correspond --url https://helpdesk.intelenet.net/"
What I would like to do is assign the owner as well based on this
address. I have not been able to find a way to do this with the examples
in the RT Essentials book or the Wiki.
If this is possible, could someone point me in the right direction?
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20070621/2d6a5d99/attachment.htm>
More information about the rt-users
mailing list