Microsoft KB Archive/323351

= INFO: CDOSYS and CDOEX Do Not Support Non-SMTP Addresses =

Article ID: 323351

Article Last Modified on 2/22/2007

-

APPLIES TO


 * Microsoft Exchange 2000 Server Standard Edition

-



This article was previously published under Q323351



SUMMARY
Microsoft Collaboration Data Objects for Windows 2000 (CDOSYS) and Microsoft Collaboration Data Objects for Exchange 2000 Server (CDOEX) use Simple Mail Transfer Protocol (SMTP) to send messages. Because of this, you cannot use non-SMTP addresses for recipients. However, you can encapsulate non-SMTP addresses in SMTP format, and then you can use those addresses in either CDOSYS or CDOEX.



MORE INFORMATION
If your Exchange Server computer handles a particular non-SMTP address type (for example, FAX), you can use a specific encapsulation scheme to encapsulate the address in SMTP format.

Format of Encapsulated Address

 * IMC encapsulation prefix: IMCEA
 * Exchange address type (in this example, FAX)
 * Hyphen (-)
 * Actual address
 * At sign (@)
 * Exchange routing domain

Example
To illustrate this scheme, suppose that a fax gateway is installed on your Exchange Server computer, which uses addresses of type FAX and the routing domain MyDomain.com. Additionally, suppose that the address is a 10-digit fax number. To use CDOEX to send a fax to 1234567890, you can address your e-mail message to [FAX:1234567890] in Microsoft Outlook. The appropriate encapsulated address appears as follows:

IMCEAFAX-1234567890@MyDomain.com

Plus-Encoding
In addition to encapsulating a non-SMTP address, you may also have to plus-encode certain characters that are not valid for SMTP. The following are the rules for plus-encoding the address:
 * Alphanumeric characters, the equal sign (=), and the hyphen (-) are not encoded.
 * A slash mark (/) is replaced by an underscore (_).
 * Anything else is replaced by a plus sign (+) and the two hexadecimal digits of its ASCII value.

NOTE: You only have to encode the Exchange address type and the actual address. The other items that are listed in the &quot;Format of Encapsulated Address&quot; are made up of valid characters.

Keywords: kbhowtomaster kbinfo KB323351

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.