MORE INFORMATION
Important CDO 1.21s is designed specifically to help promote client safety. CDO 1.21s should not be applied to Microsoft Exchange Server-side versions of the CDO 1.21 library.
Changes to the CDO 1.21s Object Model
Sending Mail
When a CDO 1.21s application calls the
Send method of a
Message
object or a
MeetingItem object, a dialog box informs the user that a program is
trying to send mail on their behalf and then prompts the user if the message should be sent. If
the user clicks
No, the
Send method returns the following error message:
Collaboration Data Objects-[E_ACCESSDENIED(80070005)]
Accessing certain MAPI properties associated with a Message object
When a CDO 1.21s application uses a
Fields collection object to
access MAPI properties that are associated with an existing
Message item, a dialog box informs the user that a program is trying to access e-mail addresses that are stored in Outlook and then prompts the user if they want to allow for this access. If the user
clicks
No, the
Send method returns the following error message:
Collaboration Data Objects-[E_ACCESSDENIED(80070005)]
The following MAPI properties are affected:
PR_SENT_REPRESENTING_ENTRYID
PR_SENT_REPRESENTING_SEARCH_KEY
PR_SENT_REPRESENTING_NAME
PR_SENT_REPRESENTING_ADDRTYPE
PR_SENT_REPRESENTING_EMAIL_ADDRESS
PR_SENDER_ENTRYID
PR_SENDER_SEARCH_KEY
PR_SENDER_NAME
PR_SENDER_ADDRTYPE
PR_SENDER_EMAIL_ADDRESS
PR_DISPLAY_TO
PR_DISPLAY_CC
PR_DISPLAY_BCC
PR_ORIGINAL_DISPLAY_TO
PR_ORIGINAL_DISPLAY_CC
PR_ORIGINAL_DISPLAY_BCC
Accessing the items under a Contacts folder
When a CDO 1.21s application accesses the
Messages collection object of a Contacts folder, the dialog box for MAPI properties appears.
Manipulating Recipients or AddressEntries collections
CDO 1.21s also displays a dialog box under the
following scenarios:
Handling attachments
When you use the
Attachments collection object of a
Message object to retrieve each attachment in the collection, CDO 1.21s does not return "unsafe" (Level 1 Security files) file attachments in the collection. Unsafe attachments are not actually removed, but CDO 1.21s does not know that the attachments exist. For example, the
Count property of the
Attachments object returns the number of attachments
excluding all unsafe attachments.
Avoiding the security prompts
For more information about how to avoid the security prompts, click the following article number to view the article in the Microsoft Knowledge Base:
290500
Description of the developer-related e-mail security features in Outlook 2002
Using CDO 1.21s in a service
If you are developing a Windows service that uses CDO, security prompts will not be generated because CDO detects that it is running in a service. Therefore, CDO does not display security prompts.