
I was able to put it in an external perl program which I can call in a
preprocessor before the mail goes into Otrs.
if ( my %Uid = $CommonObject{CustomerUserObject}->CustomerSearch(
PostMasterSearch => $Param{CustomerUserEmail} ) ) {
my @uids = keys %Uid;
my $user_login = pop(@uids);
my @CustomerIDs = $CommonObject{CustomerUserObject}->CustomerIDs(
User => $user_login
);
my $CustomerID = pop( @CustomerIDs )
# Add mail header X-OTRS-CustomerNo: $CustomerID
}
2008/11/9 Jie(Jack) Zhu
I don't think there is such function.
But it is a nice idea though.
-----Original Message----- From: Paul Dale [mailto:paul.dale@gmail.com] Sent: 2008年11月9日 13:03 PM To: otrs@otrs.org Subject: [otrs] Associating a group with a CustomerID?
Is it possible to have anyone with a given CustomerID automatically added to a group or queue?
Thanks,
Paul
_______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs