Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IsEmailServerSet method
Collapse the table of content
Expand the table of content

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)

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:
© 2015 Microsoft