standalone #1639 mailconverter custom actions
- Nov 08, 2021
-
-
angelo paglialonga authored83aaec93
-
- Oct 27, 2021
-
-
angelo paglialonga authored995ab935
-
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.