SPList.ServerTemplateCanReceiveEmail Method

Returns a Boolean value that specifies whether the specified list template and Web site support receiving e-mail.

Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

Public Shared Function ServerTemplateCanReceiveEmail ( _
    templateType As SPListTemplateType, _
    web As SPWeb _
) As Boolean

Dim templateType As SPListTemplateType
Dim web As SPWeb
Dim returnValue As Boolean

returnValue = SPList.ServerTemplateCanReceiveEmail(templateType, _
    web)
public static bool ServerTemplateCanReceiveEmail(
    SPListTemplateType templateType,
    SPWeb web
)

Parameters

Return Value

Type: System.Boolean
true if the list template and Web site support receiving e-mail; otherwise, false.

See Also

Reference

SPList Class

SPList Members

Microsoft.SharePoint Namespace