Control and configuration interfaces

Eight new COM/ActiveX interfaces has been added to version 2.12 to control and configure Advanced Direct Remailer from other applications. Seven interfaces provide access to appropriate tabs of settings:

IAdrGeneral - to properties of a tab "General".

IAdrActions - to properties of a tab "Actions".

IAdrDns - to properties of a tab "DNS".

IAdrDelivery - to properties of a tab "Delivery".

IAdrServer - to properties of a tab "Server".

IAdrProxy - to properties of a tab "Proxy".

IAdrLogs - to properties of a tab "Logs".

Through interfaces it is impossible to get access only to a tab "Mailboxes" of settings. The eighth interface - IAdrControl - provides Advanced Direct Remailer control capabilities. With methods of this interface it is possible to control delivery (to start, stop, route stream of mail through the ISP), control the SMTP-server of the program, reload settings of the program from the Windows registry and to save them, to resynchronize Outbox, to get a state of the program and other. Look example AdrCntr of usage of these interfaces. Methods of interfaces can be learned through the type library of component or the adr_h.h header file, which is supplied with AdrVc sample.

Code samples