sendusername Field
Topic Last Modified: 2006-06-29
The username used in conjunction with the sendpassword field when authenticating to a Simple Mail Transfer Protocol (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 by using Exchange, use the user's user principal name (UPN) for this value. This value, along with the password in the sendpassword field, is used to authenticate with the Active Directory® directory service and remote Exchange Server 2007 WebDAV 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 is located.
Examples
Microsoft Windows NT® 4.0 compatible format
User principal name format