Kayako logo
SupportSuite, eSupport and LiveResponse Discussion, troubleshooting and feedback related to Kayako's flagship support desk products SupportSuite, eSupport and LiveResponse.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1) Old
lifeunconscious Offline
Member
 
Posts: 39
Join Date: Oct 2005
Single emailqueue serving multiple departments - 18-03-2006, 03:01 PM

Hi,

Is it possible to setup a single emailqueue (a single address) to server multiple departments?

The departments will mainly be a specialization of skills/purpose internally eg. technical/general/marketing, etc ... but all these departments will be receiving/replying with the emailqueue's address.

I have set up one email queue and 2 departments (General & Technical). However, the emailqueue can only be associated with one department (General). So when I create a New Ticket > Phone/Email ticket >Technical, only the staff's emailqueue is available.

If I create two separate emailqueues with the same details, the first one set to General and the second to Technical. All emails seem to go to Technical (ie. the queue that is set up more recently). I can setup a Parser Rule to change all New Tickets to the General department but the swauditlogs will still register the New Ticket Created (actiontype = 11) to the Technical Department ... which kinda messes up the report that I want to generate (based on the swauditlogs table).

Any ideas?

Last edited by lifeunconscious; 18-03-2006 at 03:07 PM.
   
Reply With Quote
  (#2) Old
netFusion Offline
Member
 
Posts: 393
Join Date: Sep 2003
Location: My wife calls it the doghouse...
18-03-2006, 09:33 PM

Mail Queues to departments are a "one to one" or "many to one" scenario.

You can have one email address feed one department or many email addresses feed to one department. But one email address feeding many departments will not work out the way you want it to because the software would not have any indication of how to choose which department to put the incoming email in.

i.e. The one mail queue for the General Department(general@yoursupport.com) would not have any way to know that it needs to assign the created ticket to Technical Support department(support@yoursupport.com) or the Marketing Department (marketing@yoursupport.com) since it bases it off of the the email address.

Making a unique mail queue for each department would seem to be the most logical way to accomplish what you are wanting.

If you do end up having to stick with only one email account available for your support system, you could look at assigning a Mail Parser Rule based on subject or body content.

Then you could force your users to send to the general@yoursupport.com email address and require them to include a keyword like "Marketing" or "Support" in the subject line that could then be matched to a Mail Parser Rule and sorted into the appropriate department.


netFusion Computer and Network Solutions
Web Site: http://www.netFusionKC.com
Web Store: https://www.netfusionkc.com/store/

Anything I say or do is my own opinion and may make absolutely no sense to anyone but me...
   
Reply With Quote
  (#3) Old
lifeunconscious Offline
Member
 
Posts: 39
Join Date: Oct 2005
20-03-2006, 12:44 PM

Let me rephrase the question then.

Is it possible to have the cron_parser plug in the correct departmentid for the emailqueue that it's currently parsing?

At the moment, it seems to be taking the departmentid of the most currently added emailqueue with matching email address.

ie. emailqueue was added in this order
1. emailqueueid=1, departmentid=1, email=support@abc.com
2. emailqueueid=2, departmentid=2, email=support@abc.com

parser loops:
Quote:
$dbCore->query("SELECT * FROM `". TABLE_PREFIX ."emailqueues` ORDER BY `emailqueueid` ASC;", 4);
while ($dbCore->nextRecord(4)) {
calls parseRawMimeData() -> which calls getEmailQueueData()
}
In the above, departmentid=2 will always be returned as getEmailQueueData() only compares the current emailqueue's email to the list of recipients and this line

$emailqueueid = intval($_SWIFT["queuecache"]["p"][$val]);

... seems to match the latest emailqueue's email that was added instead of what is currently in $dbCore.

Last edited by lifeunconscious; 20-03-2006 at 12:50 PM.
   
Reply With Quote
  (#4) Old
netFusion Offline
Member
 
Posts: 393
Join Date: Sep 2003
Location: My wife calls it the doghouse...
21-03-2006, 06:17 AM

What you are saying is correct. You can not create reliable/predictable results if you assign the same email address to multiple mail queues because the email address is the key piece that identifies what department the incoming message needs to go to.

The emailqueueid and departmentid are not required to be unique so that you can assign multiple email addresses to the same department.

Also, the emailqueueid and departmentid are not able to be deciphered from the incoming email since they are internal to eSupport/SupportSuite and would not be present in the incoming email..

The only unique thing that the incoming email has which it can match on would be the email address of "support@abc.com" from the incoming message.

If you create mail queues such that the email address is no longer unique, nothing else could be derived from the content of the incoming email message that would allow eSupport/SupportSuite to know what departmentid to assign the ticket to.


netFusion Computer and Network Solutions
Web Site: http://www.netFusionKC.com
Web Store: https://www.netfusionkc.com/store/

Anything I say or do is my own opinion and may make absolutely no sense to anyone but me...
   
Reply With Quote
  (#5) Old
lifeunconscious Offline
Member
 
Posts: 39
Join Date: Oct 2005
23-03-2006, 06:08 AM

Ok. In that case, I guess I'll just have to create Rules to filter things through correctly and modify how I identify the different departments for my reports.

Thanks netFusion.
   
Reply With Quote
Reply

Tags
departments, emailqueue, serving, single

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Register multiple email accounts for single User? hurtdidit Wont Implement / Already Implemented 15 06-05-2007 04:22 AM
Multiple departments SupportMods SupportSuite, eSupport and LiveResponse 1 12-06-2006 09:04 PM
Multiple departments, one user bauhsoj SupportSuite, eSupport and LiveResponse 1 23-05-2006 03:02 PM



Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46