Export (0) Print
Expand All

SPList.ServerTemplateCanReceiveEmail method

Gets whether the specified list template and website support receiving email.

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

public static bool ServerTemplateCanReceiveEmail(
	SPListTemplateType templateType,
	SPWeb web
)

Parameters

templateType
Type: Microsoft.SharePoint.SPListTemplateType

The template type.

web
Type: Microsoft.SharePoint.SPWeb

The website.

Return value

Type: System.Boolean
true if the list template and website support receiving email; otherwise, false.

Meeting workspace sites cannot receive email.

Show:
© 2014 Microsoft