Search This Blog

Wednesday 31 July 2013

SP2013: Enable SharePoint 2013 Tasks List Email Notification

Hi,

You need to run a script to get this enabled.

Make sure your outgoing mail is working.
Run this:

Add-PSSnapin Microsoft.SharePoint.Powershell -ErrorAction SilentlyContinue

$web = Get-SPWeb "https://sitename.domain.com/sites/Sitename/"
$list = $web.Lists.TryGetList("TaskName")

$list.EnableAssignToEmail = $true
$list.Update()





2 comments:

  1. Danie,

    Have you tried to reverse this process?

    I tried:

    Add-PSSnapin Microsoft.SharePoint.Powershell -ErrorAction SilentlyContinue

    $web = Get-SPWeb "https://sitename.domain.com/sites/Sitename/"
    $list = $web.Lists.TryGetList("TaskName")

    $list.EnableAssignToEmail = $false
    $list.Update()

    but returned an error:

    Eception calling "Update" with "0" argument(s):
    $list.Update()

    -bill

    ReplyDelete
  2. I have created an web scoped application page to manage tasks list email settings: https://sp2013taskslist.codeplex.com/

    ReplyDelete