CdoSendUsing Enum

CdoSendUsing Enum

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 CdoSendUsing enumeration is used to set the sendusing Field when configuring the Message object. The sendusing field defaults to cdoSendUsingPickup if there is a local SMTP service available on the computer.

Type Library

Microsoft CDO for Exchange 2000 Library

DLL Implemented In



Name Value Description



Send the message using the local SMTP service pickup directory.



Send the message using the network ( SMTP over the network).



Send the message using the Microsoft Exchange mail submission Uniform Resource Identifier (URI). This URI is found in the user's urn:schemas:httpmail:sendmsg mailbox folder property.


If you specify the value cdoSendUsingPickup, you can specify the pickup directory using the smtpserverpickupdirectory Field.

Note  You must either specify the pickup directory or run your application under an account that has explicit rights to read the Microsoft Internet Information Services (IIS) metabase. For more information, see Specifying the Pickup Directory.

If you specify the value cdoSendUsingPort, you will either need the default values provided by the default Microsoft Outlook Express configuration on the local computer, or you will need to set the fields manually. These fields include:

If you specify cdoSendUsingExchange, specify the following properties in the Configuration object:

Field Description
mailboxurl Field The URL to the user's mailbox. If this property is not set, the mailbox URL is constructed by searching Microsoft Active Directory for the user specified in the sendusername property and finding the user's Exchange server.
activeconnection Field A Microsoft ActiveX Data Objects (ADO) Connection object bound to the user's mailbox store. If this connection is not specified, a new connection is created to send the message. If the sending object (for example, a Message object) is currently bound to an item, the binding is replaced when the new connection is created. If a Connection object is specified in this property, the current object's binding is not changed, and the object uses this connection to send the message.
sendusername Field The user principal name (UPN) or URL in the form user@domain.tld or mailto:user@domain.tld. You can also specify the user using the Microsoft Windows NT 4.0 format, such as DOMAIN\User. If the user's mailbox URL is not specified in the mailboxurl configuration property, Active Directory is searched using this UPN.
sendpassword Field The user's password, used to authenticate with remote servers when sending messages, and to authenticate with Active Directory when searching for user information.

See Namespace fields for more information.

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.