Email2DB Scripting Features
Included with Email2DB Professional Edition is a powerful Scripting module.
This allows you to create custom scripts that are executed by the Email2DB Server as it processes messages.
Scripts are written using the BASIC programming language. The syntax is compatible with Microsoft Visual Basic.
Scripts can be as complex as you need and contain may Functions and Sub-Routines.
Scripts can also use external COM objects and controls.
For example, you could use the ADO objects (ActiveX Data Objects) to access and update data sources.
Within scripts Email2DB allows you to access information about the current message being processed via simple properties.
Scripts can be assigned to the following events:
1. Trigger Condition Scripts
Are fired when Email2DB checks the email to see if it should be processed. These scripts can be used to fine tune trigger conditions.
2. Field Extraction Scripts
These scripts can be assigned to individual fields that you extract from the Email.
They can be used to perform complex field extraction or to create calculated fields or to format fields that have already been extracted.
3. Action Scripts
These scripts are fired when the Email has passed the Trigger Conditions and the Actions are processed.
These scripts can be used to perform custom actions.
4. Conditional Outgoing Email Scripts
Scripts can be assigned to all outgoing auto response emails. This enables you to
set conditional outgoing emails.
5. Mail Server Scripts
Scripts can be assigned to the built-in mail server to be executed when emails arrive or are relayed.
Email2DB includes a complete scripting editor and debugger for editing and checking your scripts.