Discussion:
Custom Action support for MCP Actions
Shawn Iverson
2014-01-26 18:29:50 UTC
Permalink
Spam Actions currently support use of custom().

Can support be added for MCP Actions as well?

All that is needed is the following code is in MCPMessage.pm in the " foreach $action (@actions) {" loop

# Begin Code Added
if ($action =~ /^custom\((.*)\)/) {
MailScanner::Config::CallCustomAction($this, 'yes', $1);
$action = 'custom';
}
# End Code Added


Shawn Iverson
Rush County Schools
District Technology Coordinator
iversons at rushville.k12.in.us
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20140126/f4227cab/attachment.html
Loading...