How To Send a Message Using CDO (1.x) with Visual J++ (216723)
The information in this article applies to:
- Collaboration Data Objects (CDO) 1.2
- Collaboration Data Objects (CDO) 1.21
- Microsoft Visual J++ 6.0
This article was previously published under Q216723 SUMMARY
This article contains sample code that demonstrates how to use CDO (1.2, 1.21) with Microsoft Visual J++ to send e-mail messages.
The following list summarizes what the sample code does: - Creates a CDO (1.2, 1.21) session and logs on.
- Opens the Outbox folder.
- Creates a new message in Outbox.
- Creates a recipient for the new message.
- Creates an attachment to the new message.
- Sends the message.
Please notice how Variant and getDispatch() are used in the sample code.
Modification Type: | Minor | Last Reviewed: | 7/13/2004 |
---|
Keywords: | kbFAQ kbhowto kbJava kbMsg KB216723 |
---|
|