INFO: CDOSYS and CDOEX Do Not Support Non-SMTP Addresses (323351)



The information in this article applies to:

  • Microsoft Exchange 2000 Server

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 "Format of Encapsulated Address" are made up of valid characters.

Modification Type:MinorLast Reviewed:3/4/2004
Keywords:kbHOWTOmaster kbinfo KB323351