Skip to content
Snippets Groups Projects

#1639 mailconverter custom actions

With this modification it's possible to add custom actions to mail converter just like custom workflow function! New action would be displayed along with default actions.

Now this functionality handles cases if module doesn't exist or is disabled and check function path to be reachable

Follow this example:

require_once('modules/Settings/MailConverter/handlers/MailScannerEntityMethodManager.inc'); $emm = new MailScannerEntityMethodManager($adb); $moduleName='HelpDesk'; $methodName='createticketcustom'; $functionName='createticketcustom_helpdesk'; $functionPath='modules/yourmodule/yourmoduleHandler.php'; $emm->removeEntityMethod($moduleName, $methodName); $emm->addEntityMethod($moduleName, $methodName, $functionPath, $functionName);

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
Please register or sign in to reply
Loading