Customer emails to one que, other to another?

Moderator: crythias

Locked
kmdot
Znuny newbie
Posts: 68
Joined: 16 Dec 2010, 18:46
Znuny Version: 3

Customer emails to one que, other to another?

Post by kmdot »

Hi

When i get an email, i want to filter out if they are customers or not.

I want customers to go to "customer" que, and non-customers to "lead" que?

Possible?

Thanks
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Customer emails to one que, other to another?

Post by crythias »

Check the howto: http://forums.otrs.org/viewtopic.php?f=60&t=6586
Original code

Code: Select all

    # if there is no customer user found!
    if ( !$GetParam{'X-OTRS-CustomerUser'} ) {
        $GetParam{'X-OTRS-CustomerUser'} = $GetParam{SenderEmailAddress};
    }
Possible adjustment(?)

Code: Select all

    # if there is no customer user found!
    if ( !$GetParam{'X-OTRS-CustomerUser'} ) {
        $GetParam{'X-OTRS-CustomerUser'} = $GetParam{SenderEmailAddress};
        $GetParam{'X-OTRS-Queue'} = "Lead";
    }
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Locked