Share via


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)

Syntax

'Declaration
Public Shared Function IsEmailServerSet ( _
    web As SPWeb _
) As Boolean
'Usage
Dim web As SPWeb
Dim returnValue As Boolean

returnValue = SPUtility.IsEmailServerSet(web)
public static bool IsEmailServerSet(
    SPWeb web
)

Parameters

Return value

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

See also

Reference

SPUtility class

SPUtility members

Microsoft.SharePoint.Utilities namespace