SPWebApplication.OutboundMailServiceInstance Property
Gets or sets the SMTP e-mail service used for sending e-mail.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Property Value
Type: Microsoft.SharePoint.Administration.SPOutboundMailServiceInstanceAn SPOutboundMailServiceInstance object that represents the SMTP e-mail service.