More than one Custom Function

Paul housey at sme-ecom.co.uk
Thu May 14 08:57:06 IST 2009


Julian Field wrote:
>
>
> On 13/05/2009 12:32, Paul Houselander wrote:
>> Hi
>>
>> I have a mailscanner set up that uses the Always Looked Up Last 
>> directive to
>> call a custom function I wrote that logs to a postgres database.
>>
>> I want to try to get it to now to ALSO log to a mysql database using
>> mailwatch.
>>
>> Is it possible to run 2 CustomFunctions from the same directive?
>>    
> Why not just write a Custom Function that calls both bits of code? 
> Just pass all the parameters to both functions, simple as that.
>
> Jules
>
Hi Jules

I did think about doing that, it was just I recalled someone writing a 
wrapper that allowed you to call 2 custom functions? I may well have 
drembt it as cant find anything via the wiki or searching through the 
archives!

Paul




More information about the MailScanner mailing list