Partager via


mailboxurl Field

Topic Last Modified: 2006-06-29

The mailboxurl field specifies the URL of the mailbox folder of a user.

Full Name

https://schemas.microsoft.com/cdo/configuration/mailboxurl

Named Constant

cdoMailboxURL

OLE DB Type

DBTYPE_WSTR

Remarks

When you send or post messages by using Microsoft® Exchange, Collaboration Data Objects (CDO) uses the mail submission URI of the user. To do so, it must bind to the root mailbox folder of the user and determine the mail submission URI by retrieving the value of the urn:schemas:httpmail:sendmsg property. If you set the mailboxurl property, CDO uses the specified URL to bind to the mailbox of the user. If you do not set this property, CDO uses the user principal name specified by sendusername or postusername (https://schemas.microsoft.com/cdo/configuration namespace) to locate the Exchange server of the user in the Active Directory® directory service.

If you set the mailboxurl property explicitly, performance increases.

Note

The mailbox folder of a user is not the Inbox. For example, https://server/exchange/user1 is the URL of the mailbox folder of User1. The URL of the Inbox of this user is found by requesting the urn:schemas:httpmail:inbox property for the root mailbox folder item.