Custom Action support for MCP Actions

Shawn Iverson IversonS at rushville.k12.in.us
Sun Jan 26 18:29:50 GMT 2014


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 


More information about the MailScanner mailing list