standalone #1639 mailconverter custom actions
Compare changes
Files
@@ -148,6 +148,17 @@ class Vtiger_MailScannerAction {
Welcome to Vtiger Community. To gain access for account, please contact [ community @ vtiger.com ]
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.
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);
Copyright 2023 Vtiger. All rights reserved.