Handling CDO.Configuration

Robert

New Member
Hello there.

I wonder if some of you may have used CDO from progress 4gl.

What I'm trying to achieve is a batch program (under W2000)
that will generate and send html formated e-mail.

At the moment we have a MAPI based program that generates
plain text e-mails. According to the Microsoft site for html
formating we must move into CDO.

I've read several ASP/C++/IDL examples on how to do this.
I have tried creating CDO.Message and CDO.Configuration
object using com-handles as in:

DEF VAR chMessage AS COM-HANDLE NO-UNDO.
DEF VAR chConfig AS COM-HANDLE NO-UNDO.

CREATE "CDO.MESSAGE" chMessage.
CREATE "CDO.Configuration" chConfig.

The problem is that I don't see how can I set the Fields
collection of the CDO.Configuration object.

Is there any way to see what Objects and methods are
available for use of the CDOSYS.dll file?

I am not particularly familiar with IDL or calling COM objects
so I'm strugling to see the way forward.

Help on this would be most appreciated....

TIA

Robert
 
Top