SPOutboundMailService Class

Represents a Simple Mail Transfer Protocol (SMTP) service that is used in Microsoft SharePoint Foundation to send outbound mail.

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

[GuidAttribute("2F4307E2-69AC-4213-9C71-F12554DE7BC8")]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPOutboundMailService : SPService

To return the parent service of an outbound e-mail service instance, use the inherited Service property of the SPOutboundMailServiceInstance class.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: