Share via


ExchangeServiceBinding.SendItem Method

Sends e-mail messages that are located in the Microsoft Exchange Server 2007 data store.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/SendItem", Use := SoapBindingUse.Literal,  _
    ParameterStyle := SoapParameterStyle.Bare)> _
<SoapHeaderAttribute("ExchangeImpersonation")> _
<SoapHeaderAttribute("SerializedSecurityContext")> _
<SoapHeaderAttribute("MailboxCulture")> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction := SoapHeaderDirection.Out)> _
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)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/SendItem", Use = SoapBindingUse.Literal, 
    ParameterStyle = SoapParameterStyle.Bare)]
[SoapHeaderAttribute("ExchangeImpersonation")]
[SoapHeaderAttribute("SerializedSecurityContext")]
[SoapHeaderAttribute("MailboxCulture")]
[SoapHeaderAttribute("ServerVersionInfoValue", Direction = SoapHeaderDirection.Out)]
public SendItemResponseType SendItem(
    SendItemType SendItem1
)

Parameters

Return Value

Type: Microsoft.SharePoint.Portal.WebControls.SendItemResponseType

See Also

Reference

ExchangeServiceBinding Class

ExchangeServiceBinding Members

Microsoft.SharePoint.Portal.WebControls Namespace