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)

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