4 messages in com.mysql.lists.eventum-usersRe: Auto-creation of issues with sett...
FromSent OnAttachments
Ralf Eggert26 Jan 2006 22:51 
Ralf Eggert27 Jan 2006 00:37 
Bryan Alsdorf30 Jan 2006 00:50 
Ralf Eggert30 Jan 2006 01:54 
Subject:Re: Auto-creation of issues with setting the category
From:Bryan Alsdorf (bry@mysql.com)
Date:01/30/2006 12:50:52 AM
List:com.mysql.lists.eventum-users

Hi Ralf,

Ralf Eggert wrote:

Hi,

how can I setup this:

when an issue is auto-created the default category (which is set in the Manage Email Accounts configuration) will always be set correctly. I would like the category to be set, depending on the local part of the email address. For example:

to@domain.de -> set category to default value, i.e. "unknown" cont@domain.de -> set category to "content" bug.@domain.de -> set category to "bug"

You can use the workflow API to do this. See this page for documentation: http://eventum.mysql.org/wiki/index.php/WorkflowDocumentation

You would need to create a method handleNewEmail in the workflow class. I can help you with the contents if you need it. Once you finish this, please let me know so we can put it on the examples page: http://eventum.mysql.org/wiki/index.php/WorkflowExamples

Best Regards,

Are you MySQL certified? www.mysql.com/certification