9 messages in com.mysql.lists.eventum-usersRe: Email Integration.| From | Sent On | Attachments |
|---|---|---|
| Tim Uckun | 21 Feb 2006 15:10 | |
| Tim Uckun | 22 Feb 2006 14:34 | |
| Ryan Lovelett | 22 Feb 2006 14:52 | |
| Tim Uckun | 22 Feb 2006 14:54 | |
| Bryan Alsdorf | 23 Feb 2006 22:08 | |
| Tim Uckun | 23 Feb 2006 23:26 | |
| Ryan Lovelett | 24 Feb 2006 08:25 | |
| Steve Stefanovich | 28 Mar 2006 06:19 | |
| Bryan Alsdorf | 28 Mar 2006 07:54 |
| Subject: | Re: Email Integration.![]() |
|---|---|
| From: | Tim Uckun (timu...@gmail.com) |
| Date: | 02/23/2006 11:26:14 PM |
| List: | com.mysql.lists.eventum-users |
I got it to work without subject based routing but I think subject based routing is a more elegant solution because you don't have to mess with your mail server.
On 2/24/06, Bryan Alsdorf <bry...@mysql.com> wrote:
Hi Ryan,
Ryan Lovelett wrote:
Tim you cannot have the subject based routing turned on to get it to make a ticket. Then you have to click on the list of Auto-Creation of issues and get it to be associated with an issue. That is how I got mine to auto create the tickets.
My problem is that I cannot have both at the same time. That is what I'm still trying to figure out.
I sent this to another user but forgot to CC the list.
I don't have time to test this, but I have a suggestion. If it works, let me know and I will incorporate it into our next release.
Edit include/class.support.php, the createIssueFromEmail method.
After this code: // look for [#XXXX] in the subject line if (preg_match("/\[#(\d+)\]( Note| BLOCKED)*/", $subject, $matches)) { $should_create_issue = false; $issue_id = $matches[1]; if (!Issue::exists($issue_id, false)) { $issue_id = ''; } elseif (!empty($matches[2])) { $type = 'note'; } }
Add: else { $should_create_issue = true; }
That code should enable both subject based routing and auto creation of issues.
Let me know how it works for you.
/bryan
-----Original Message----- From: Tim Uckun [mailto:timu...@gmail.com] Sent: Wednesday, February 22, 2006 5:35 PM To: even...@lists.mysql.com Subject: Email Integration.
So far I have been able to get eventum to pick up the emails using subject based routing. I would however prefer to have these emails turned into tickets. If I click on "use this email for routing" It does nothing. It checks the email box, marks the message as read does not delete it from the inbox, does not create a new ticket.
Does this mean I can't use subject based routing and auto creation of tickets?
-- Bryan Alsdorf, Software Engineer MySQL AB, www.mysql.com
Are you MySQL certified? www.mysql.com/certification




