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)

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

value = instance.OutboundMailServiceInstance

instance.OutboundMailServiceInstance = value

Property value

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