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)


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, _
public static bool ServerTemplateCanReceiveEmail(
    SPListTemplateType templateType,
    SPWeb web


Return Value

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

See Also


SPList Class

SPList Members

Microsoft.SharePoint Namespace