Export (0) Print
Expand All
Expand Minimize

SPUtility.IsEmailServerSet Method

Returns a Boolean value that specifies whether an e-mail server has been set for the site.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

public static bool IsEmailServerSet(
	SPWeb web
)

Parameters

web
Type: Microsoft.SharePoint.SPWeb

A Microsoft.SharePoint.SPWeb object that represents the site.

Return Value

Type: System.Boolean
true if the e-mail server has been set; otherwise, false.
Show:
© 2014 Microsoft