SendSMTP
The SendSMTP component sends an e-mail message to the specified recipient.
- From (required). Specifies the e-mail address from which the message is to be sent. This is the actual e-mail address (for example, someone@microsoft.com) rather than the name of a field that contains the e-mail address.
- SMTP Host (required). Specifies the name or IP address of the SMTP mail server that will be used to transmit the object. This is the actual name of the server rather than the name of a field that contains the name.
- Dictionary fields for E-mail. These fields specify the locations on the order form or Transport Dictionary of the delivery information to be used for addressing the e-mail message.
- To (required). Specifies the name of the field in the Transport Dictionary that contains the e-mail address to which the message is being sent.
- cc. Specifies the name of the field in the Transport Dictionary that contains the e-mail addresses to which copies of the message are to be sent.
- Subject. Specifies the name of the field in the Transport Dictionary that contains the text that is to be displayed in the Subject field of the e-mail message.
- Character Set for Subject. Specifies the character set that is to be used to encode the subject of this email message. This drop-down list displays the character sets currently installed on this computer.
- Message Body. Specifies the name of the field in the Transport Dictionary that contains the message that is to be included in the body of the e-mail message.
- Message Body contains. These options specify the format of the message that is to be sent.
- MIME header and body. Specifies that the business data object is already encapsulated in a MIME header. If you click this option, the component uses the character set and header already encapsulated with the message instead of generating its own MIME header and using the character set specified in the Character Set for Subject field. Use this option if you use the EncodeSMIME component with the Plain Text option to encode the business data object.
- Text Body. Specifies that the business data object consists of straight ASCII text and no further processing is needed.
- Binary body. Specifies that the business data object is a binary blob. The SendSMTP component will base64-encode it before sending.
Remarks
The SendSMTP component sends a business data object as an e-mail message to an SMTP mail server. If you are using Microsoft® Exchange and Outlook, you can run a Visual Basic script to invoke an OrderPipeline object (but not an MtsPipeline or MtsTxPipeline) on the Exchange server to process the received messages. For an example, see the Recvsmtp.vbs script installed in the \Microsoft Site Server\SiteServer\Commerce folder (see Creating a Receiving Agent for SMTP Transport).
Note In order for SendSMTP to properly support character set conversion, the corresponding Windows NT code page must be installed on the computer. For example, the US version of Windows NT installation does not include the Japanese code page (code page 932), which must be present to convert Unicode to iso-2022-jp. For information on installing a code page, see Knowledge Base article Q164948.
© 1997-2000 Microsoft Corporation. All rights reserved.