Creating a maillist and saving it in an Excel document

Creating a maillist and saving it in an Excel document - ActiveX object usage example.

Example Description

This example shows how ActiveX objects can be used for message processing. To toggle on ActiveX objects, script components are used.

To load the example, import the rules list rules.txt from the Examples\ActiveX folder.

The example is the solution of maillist creating task. When a message is received, the sender's name and address are stored in the Excel list.xls document located in the Examples\ActiveX folder.

Example Rule Description

Filtering

There is the Subject Filter that filters all messages except debug messages from the example.

Processing

Parsing of the sender's name and address.

Saving the data parsed in an Excel document using JScript source code.

Debug Messages

There is a debug message used to show how the rule works.

Remarks

This example will work only if MS Excel is installed on your computer.

© 2020 Mediatwins s.r.o. All rights reserved.