SPWebApplication.OutboundMailServiceInstance Property

Gets or sets the SMTP e-mail service used for sending e-mail.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property OutboundMailServiceInstance As SPOutboundMailServiceInstance
    Get
    Set
'Usage
Dim instance As SPWebApplication
Dim value As SPOutboundMailServiceInstance

value = instance.OutboundMailServiceInstance

instance.OutboundMailServiceInstance = value
public SPOutboundMailServiceInstance OutboundMailServiceInstance { get; set; }

Property Value

Type: Microsoft.SharePoint.Administration.SPOutboundMailServiceInstance
An SPOutboundMailServiceInstance object that represents the SMTP e-mail service.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace