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
Public Property OutboundMailServiceInstance As SPOutboundMailServiceInstance
Get
Set
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.