EmailArchitect Server supports .NET Assembly very well, the developers can build filters with Visual Basic.NET or CSharp.NET.
Install VC 7.0 run-time library
Before you install .NET filter by Enterprise Manager, please download http://www.emailarchitect.net/webapp/download/msvcr71.zip and unzip this file at first, then copy this dll to "c:\program files\emailarchitect"(recommanded) or "c:\windows\system32", then you can install your .NET filter by Enterprise Manager. You can also get this file from the sdk installation folder("c:\program files\emailarchitect server sdk".
VB.NET Filter Sample
You can find a sample named "VBNetSvrFilter" at sdk samples which demonstrated how to catch different events of EmailArchitect Server. After you compiled this project, you need to install the "VBNetSvrFilter.dll" by Enterprise Manager.
CSharp Filter Sample
You can find a sample named "CSharpSvrFilter" at sdk samples which demonstrated how to catch different events of EmailArchitect Server. After you compiled this project, you need to install the "CSharpSvrFilter.dll" by Enterprise Manager.
Debug .NET Filter
1. Open your Visual Studio.NET IDE.
Menu "tools" -> "Debug Process"
Please make sure "show system processes" is checked. Then select
"emailarchitectsvr"(not emailarchitectsvc) process on the processes list, and click "Attach", then have "Common Language runtime" checked and click OK
2. Open your source code file in this IDE and set break point is ok.
3. Each time you stop the debug from the IDE or you recompiled your project, you should restart the EmailArchitect Super Service by Control Pannel->Administartive Tools->Services.
See Also