This documentation is archived and is not being maintained.

ExchangeServiceBinding.SendItem Method

The SendItem method sends the request to and returns the response from a SendItem operation.

Namespace:  ExchangeWebServices
Assembly:  EWS (in EWS.dll)

'Declaration
<SoapHeaderAttribute("RequestServerVersionValue")> _
<SoapHeaderAttribute("ExchangeImpersonation")> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("MailboxCulture")> _
<SoapDocumentMethodAttribute("http://schemas.microsoft.com/exchange/services/2006/messages/SendItem", Use := SoapBindingUse.Literal,  _
	ParameterStyle := SoapParameterStyle.Bare)> _
Public Function SendItem ( _
	SendItem1 As SendItemType _
) As SendItemResponseType
'Usage
Dim instance As ExchangeServiceBinding
Dim SendItem1 As SendItemType
Dim returnValue As SendItemResponseType

returnValue = instance.SendItem(SendItem1)

Parameters

SendItem1
Type: ExchangeWebServices.SendItemType
An instance of the SendItemType class that represents the set of items to send.

Return Value

Type: ExchangeWebServices.SendItemResponseType
The SendItem method returns a SendItemResponseType object that contains the status of the SendItem operation.
Show: