[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 195
  • Last Modified:

How to retrieve the number of Email Enabled List in a SharePoint Farm

Does anyone know how to get the number of email enabled lists in a MOSS Farm?
0
snazaire
Asked:
snazaire
1 Solution
 
liebrandCommented:
You can run this query in the Content DB you want to see:


select RootWeb.FullUrl,
	   w.fullUrl,
	   w.Title,
	   l.tp_Title as [List Name],
	   l.tp_EmailAlias
  from AllLists l
  join Webs w
    on l.tp_WebId = w.Id
  join Sites s
    on w.SiteId = s.Id
  join Webs RootWeb
    on s.RootWebId = RootWeb.Id 
 where (l.tp_EmailAlias is not null
    AND l.tp_EmailAlias <> '')

Open in new window

0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now