Partager via


sendusername Field

sendusername Field

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

The username used in conjunction with the sendpassword field when authenticating to a SMTP or Microsoft Exchange HTTP service over the network.

Full Name

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

Named Constant

cdoSendUserName

OLE DB Type

DBTYPE_WSTR

Remarks

This field is only relevant if the https://schemas.microsoft.com/cdo/configuration/sendusing field is set to cdoSendUsingPort (2) or cdoSendUsingExchange (3). For more information, see the CdoSendUsing Enum. If Microsoft Outlook Express is installed, the value from the default account is used.

When sending messages using Exchange, this value should be the user's user principal name (UPN). This value, along with the password in the sendpassword field, is used to authenticate with Microsoft Active Directory and remote Exchange Server 2003WebDAV services. If the https://schemas.microsoft.com/cdo/configuration/mailboxurl is not set in the Configuration object, Collaboration Data Objects (CDO) uses this UPN to find the Exchange server on which this user's mailbox resides.

Examples

Microsoft Windows NT 4.0 compatible format

User principal name format

Send us your feedback about the Microsoft Exchange Server 2003 SDK.

Build: June 2007 (2007.618.1)

© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.