Call custom function on incoming mail??

bitsoft
Posts: 2
Joined: Mon Mar 23, 2015 9:16 am

Call custom function on incoming mail??

Postby bitsoft » Sun Dec 27, 2015 5:11 pm

Hello all,

i have problem and i hope that somebody knows how to solve it. I need to call custom build function (C#) on incoming mail to server

Code: Select all

string CheckMail(string sender, string receipt, string subject, string body)

which preforms some internal checks and returns new subject which i have to replace with original in message

I can change function so it can receive different parameters (maybe path to message or something else, depends what is possible) but i need information about sender and subject at least and if possible message body. Then function would perform check and generate new subject which i can return as string or i can change subject directly in function if possible (it will translate subject from english to local language).

Function is in dll made with .net and MailEnable is v9 Professional edition.

Is something like that possible with MailEnable and how (smtp plugin, custom connectop, pickup event...). If not we will have to change mail server solution in our company and at few clients what would be pain in ass :(

Who is online

Users browsing this forum: Bing [Bot] and 5 guests