List of Incoming Email Addresses and Site/List Associations?
Where can I find a list of all of the incoming email addresses used by lists that are setup to receive incoming email? I have an incoming email address that I am not able to use because it says that it is already in use, but I cannot find it for the life of me. Any and all help is appreciated, Brian Orrell Pariveda Solutions
July 31st, 2007 7:10pm

Here is something that works in 2007 and 2010 through powershell #Load SharePoint Asssemblies [System.reflection.Assembly]::LoadWithPartialName(Microsoft.SharePoint) $webURL = Read-Host "Please enter the web URL of the server" $SPWebApp = [Microsoft.SharePoint.Administration.SPWebApplication]::Lookup($webURL) #create a CSV file Site,List,E-Mail > EMail-Enabled.csv #Write the Headers in to a text file #Create foreach loop to enumerate through SharePoint Web Application, Sites, Subsites, and Lists. foreach ($SPsite in $SPwebApp.Sites) # get the collection of site collections { foreach($SPweb in $SPsite.AllWebs) # get the collection of sub sites { foreach ($SPList list in $SPweb.Lists) { if ( ($splist.CanReceiveEmail) -and ($SPlist.EmailAlias) ) { # WRITE-HOST E-Mail - $SPList.EmailAlias is configured for the list $SPlist.Title in $SPweb.Url $SPweb.Url + , + $SPlist.Title + , + $SPList.EmailAlias >> EMail-Enabled.csv #append the data } } } }
Free Windows Admin Tool Kit Click here and download it now
August 29th, 2012 12:11am

Just for reference and since it's always nice to attribute the source, the script The Computer Jock posted is courtesy of JShidell's SharePoint Blog Jason Warren Infrastructure Architect Habanero Consulting Group habaneroconsulting.com/blog
August 29th, 2012 12:24am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics