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

Posted on 2011-04-29
Last Modified: 2012-05-11
Does anyone know how to get the number of email enabled lists in a MOSS Farm?
Question by:snazaire
    1 Comment
    LVL 15

    Accepted Solution

    You can run this query in the Content DB you want to see:

    select RootWeb.FullUrl,
    	   l.tp_Title as [List Name],
      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


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    PRTG Network Monitor: Intuitive Network Monitoring

    Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

    A question that is asked often, is how to generate sequential numbers in InfoPath Forms. The best way to achieve this is to use a SQL database, along with a stored procedure and a web service to connect Forms Services to the DB. The first thing t…
    These days socially coordinated efforts have turned into a critical requirement for enterprises.
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now