3.1.4.6 SendItem
The SendItem operation sends email messages that are located in the server store.
The following is the WSDL port type specification of the SendItem operation.
-
<wsdl:operation name="SendItem"> <wsdl:input message="tns:SendItemSoapIn" /> <wsdl:output message="tns:SendItemSoapOut" /> </wsdl:operation>
The following is the WSDL binding specification of the SendItem operation.
-
<wsdl:operation name="SendItem"> <soap:operation soapAction="http://schemas.microsoft.com/exchange/services/2006/messages/SendItem" /> <wsdl:input> <soap:header message="tns:SendItemSoapIn" part="Impersonation" use="literal"/> <soap:header message="tns:SendItemSoapIn" part="MailboxCulture" use="literal"/> <soap:header message="tns:SendItemSoapIn" part="RequestVersion" use="literal"/> <soap:body parts="request" use="literal" /> </wsdl:input> <wsdl:output> <soap:body parts="SendItemResult" use="literal" /> <soap:header message="tns:SendItemSoapOut" part="ServerVersion" use="literal"/> </wsdl:output> </wsdl:operation>
The protocol client sends a SendItemSoapIn request WSDL message, and the protocol server responds with a SendItemSoapOut response WSDL message.
If the SendItem WSDL operation request is successful, the server returns a SendItemResponse element, as specified in [MS-OXWSCORE] section 3.1.4.8.2.2, with the ResponseClass attribute, as specified in [MS-OXWSCDATA] section 2.2.4.65, of the SendItemResponseMessage element, as specified in [MS-OXWSCDATA] section 2.2.4.12, set to "Success". The ResponseCode element, as specified in [MS-OXWSCDATA] section 2.2.4.65 of the SendItemResponseMessage element is set to "NoError".
If the SendItem WSDL operation request is not successful, it returns a SendItemResponse element with the ResponseClass attribute of the SendItemResponseMessage element set to "Error". The ResponseCode element of the SendItemResponseMessage element is set to one of the common errors defined in [MS-OXWSCDATA] section 2.2.5.24.
For more information, see SendItem as described in [MS-OXWSCORE] section 3.1.4.8.