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

Kayako develops robust helpdesk software, live chat and real-time visitor monitoring software.
Kayako is trusted by more than 30,000 organizations, including a number of Fortune 500 companies and government institutions.
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1) Old
idxman01 Offline
New Member
 
Posts: 29
Join Date: May 2009
Mail parsing the message body for Ticket ID - 01-06-2009, 03:58 PM

Hello,

I currently have eSupport set to parse the mail body to find a ticket ID, although in a recent reply it created a new ticket instead of adding my reply. The message in question was a new email from the user so I thought I would reply, attach the support email and just paste the ticket ID in the body.

Do I need to format it a certain way? eg: #ABC-1234 or just ABC-1234?

Thank You,
   
Reply With Quote
  (#2) Old
idxman01 Offline
New Member
 
Posts: 29
Join Date: May 2009
01-06-2009, 04:31 PM

Update: Still wont add the reply to an existing ticket with a few additional formatting attempts. So far it has to be in the subject header as [#ABC-1234] .

Body formatting attempts:

ABC-123
#ABC-123
Ticket ID: ABC-123
Ticket ID: #ABC-123
   
Reply With Quote
  (#3) Old
supportskins Offline
Senior Member
 
supportskins's Avatar
 
Posts: 5,247
Join Date: Aug 2006
Location: Mumbai, India
03-06-2009, 04:41 AM

I suggest you contact Kayako Support from Kayako Members Area at https://members.kayako.net as the developers would be able to provide you a detail workflow of the mail parser.



Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support
Our Skins and Services - http://www.supportskins.com/store/ - NEW SKIN ADDED!!
SupportSkins.com - http://www.supportskins.com/
   
Reply With Quote
  (#4) Old
pthomason Offline
New Member
 
Posts: 19
Join Date: Mar 2009
Ticket ID Tags - 04-06-2009, 04:41 PM

I've noticed that customer-facing ticket IDs have a #, while staff-facing ticket IDs have a ! in them. We've also found that there must be a space between your site-specific string and the ticket ID with the # or ! pre-pended to it.

Hope this is helpful.
   
Reply With Quote
  (#5) Old
supportskins Offline
Senior Member
 
supportskins's Avatar
 
Posts: 5,247
Join Date: Aug 2006
Location: Mumbai, India
05-06-2009, 08:24 AM

Yes but I believe besides the ticket id mentioned in the subject, Kayako also parses emails using message id which is embedded in the emails. To confirm it is best you contact the developers.



Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support
Our Skins and Services - http://www.supportskins.com/store/ - NEW SKIN ADDED!!
SupportSkins.com - http://www.supportskins.com/

Last edited by supportskins; 05-06-2009 at 08:24 AM.
   
Reply With Quote
  (#6) Old
meltemi Offline
New Member
 
Posts: 24
Join Date: Jan 2007
Location: Germany
03-09-2009, 09:49 PM

Quote:
Originally Posted by idxman01 View Post
Hello,

I currently have eSupport set to parse the mail body to find a ticket ID, although in a recent reply it created a new ticket instead of adding my reply. The message in question was a new email from the user so I thought I would reply, attach the support email and just paste the ticket ID in the body.

Do I need to format it a certain way? eg: #ABC-1234 or just ABC-1234?

Thank You,
I mentioned the same problem here. Only the direct response to the ticket works. If someone writes a new email putting the Ticket-ID into subject or body there will be a new ticket instead of a new message appended to the existing ticket.

Any idea from the forum?
   
Reply With Quote
  (#7) Old
meltemi Offline
New Member
 
Posts: 24
Join Date: Jan 2007
Location: Germany
Lightbulb soultion for me.. - 04-09-2009, 12:07 AM



in modules/parser/functions_parsercore.php the ticket-id was searched twice (in text and html). The first found in the text-part was overwritten by the second html-part.

I changed the if into an elseif. Now it works for me.
Hope, that might work for others, too.


PHP Code:
if (empty($ticketiddata["id"]) && $_SWIFT['settings']['t_searchticketidinbody'] == 1)
        {
           
// We try to look it up in the text body
           
$ticketiddata parseTicketID($_email["text"]); // try to look it up in the mail body
           
parserDebug("LOOKUP: Searching Ticket ID In text Body!");
        }
        
        if (empty(
$ticketiddata["id"]) && $_SWIFT['settings']['t_searchticketidinbody'] == 1)
        {
           
// We try to look it up in the html body
           
$ticketiddata parseTicketID($_email["html"]); // try to look it up in the mail body
           
parserDebug("LOOKUP: Searching Ticket ID In HTML Body!");
        } 
into

PHP Code:
if (empty($ticketiddata["id"]) && $_SWIFT['settings']['t_searchticketidinbody'] == 1)
        {
           
// We try to look it up in the text body
           
$ticketiddata parseTicketID($_email["text"]); // try to look it up in the mail body
           
parserDebug("LOOKUP: Searching Ticket ID In text Body!");
        }
        
        elseif (empty(
$ticketiddata["id"]) && $_SWIFT['settings']['t_searchticketidinbody'] == 1)
        {
           
// We try to look it up in the html body
           
$ticketiddata parseTicketID($_email["html"]); // try to look it up in the mail body
           
parserDebug("LOOKUP: Searching Ticket ID In HTML Body!");
        } 
   
Reply With Quote
Reply

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
"A message that you sent could not be delivered to.." error new mail server jnet E-mail Piping Issues 0 04-12-2008 12:55 PM
how to handle wisely the Mail delivery failed: returning message to sender jnet SupportSuite, eSupport and LiveResponse 1 03-04-2008 09:56 AM
Mail delivery failed: returning message to sender christophersip SupportSuite, eSupport and LiveResponse 4 09-11-2007 11:03 AM
Mail parsing with Exchange flyingember How do I? 4 25-09-2007 01:56 PM



Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2


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 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78