SharePoint LMS - how to disable email notifications

Morning,

I was wondering if anyone had some advice on disabling the email notifications in SharePoint LMS?

Thanks,
Rachel 

July 27th, 2015 11:17pm

If LMS is a web application you can disable email notification from Central Admin.

Go to Central Administration > Application Management > Manage Web Applications

From ribbon Select the Outgoing email settings and remove the Outbounf SMTP server name and other settings.

If notification is going via a SharePoint List.
you can disable alert with the help of below powershell.

PowerShell script to Disable alerts on SharePoint list
Add-PSSnapin Microsoft.SharePoint.PowerShell ErrorAction SilentlyContinue

#Variables
$WebURL = "http://webURL"
$ListName="YourListName"

#Function to Disable All Active Alerts on a Given List
Function Disable-ListAlerts($WebURL, $ListName)
{
    #Get the Web and List objects
    $Web = Get-SPWeb $WebURL
    $List = $web.Lists.TryGetList($ListName)

    #Get All Alerts created in the list - Which are Active
    $ListAlerts = $Web.Alerts | Where-Object {($_.List.Title -eq $List.Title) -and ($_.Status -eq "ON")}

    Write-host "Total Number of Active Alerts Found in the list: $($ListAlerts.Count)" 
    
    #Iterate through each alert and turn it OFF
    foreach($Alert in $ListAlerts)
        {
            $Alert.Status="OFF"
            $Alert.Update()
            write-host "Disabled the Alert' $($Alert.Title)' Created for User '$($Alert.User.Name)'"
        }
         
    #Dispose web object
    $Web.Dispose()
}

#Call the function Appropriately to Disable or Enable Alerts 
Disable-ListAlerts $WebURL $ListName


Referring to a very nice blog here: http://www.sharepointdiary.com/2015/07/disable-alerts-on-sharepoint-2013-list-using-powershell.html

Free Windows Admin Tool Kit Click here and download it now
July 28th, 2015 12:54am

Thanks Rupesh, really appreciate it!
August 2nd, 2015 7:01pm

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

Other recent topics Other recent topics