Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ServerTemplateCanReceiveEmail Method

SPList.ServerTemplateCanReceiveEmail Method

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

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

public static bool ServerTemplateCanReceiveEmail(
	SPListTemplateType templateType,
	SPWeb web


Type: Microsoft.SharePoint.SPListTemplateType

The template type.

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.

© 2015 Microsoft