Enable notifications for Tasks list in SharePoint 2013

Hi SharePoint Folks,

In SharePoint 2013 you will find that the option to enable email notification for Tasks list is no longer there. It used to be under List Settings > Advanced Settings > Send e-mail when ownership is assigned? (Yes/No). It is still there for Issues list in SharePoint 2013 however. now you need to enable email notification from Power Shell through this script.

Add-PSSnapin Microsoft.SharePoint.Powershell
 
$web = Get-SPWeb "http://myServer/myWeb"
$list = $web.Lists.TryGetList("Tasks")
 
$list.EnableAssignToEmail = $true
$list.Update()

Once email notification is enabled for the Tasks then create new task and assign to any user. after that user will receive the email regarding new task which assigned to him or her.

Note: Before you run this code, make sure that you have configured outgoing mail.

Happy SharePointing 😉

Advertisements

8 thoughts on “Enable notifications for Tasks list in SharePoint 2013

  1. Even with the list EnableAssignToEmail set to true, the task lists (including issues app) do not generate an email when “Assign To” is set (new or existing item). However, Alerts work fine. What is a good debugging route? SharePoint 2013 Farm on September 2014 CU.

    Like

  2. Hi,

    The last line of this script does not work for me as I am presented with the below error:

    Property ‘EnableAssignToEmail’ cannot be found on this object; make sure it
    exists and is settable.
    At line:1 char:1
    + $list.EnableAssignToEmail = $true
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : PropertyNotFound

    PS C:Userschriscuadmin> $list.Update()
    You cannot call a method on a null-valued expression.
    At line:1 char:1
    + $list.Update()
    + ~~~~~~~~~~~~~~
    + CategoryInfo : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

    PS C:Userschriscuadmin>

    Like

  3. I managed to get the script working however emails are still not coming through after assigning a task. I do know however that emails do come from SharePoint when site permissions are delegated. So unsure why not being done on the Tasks side of things?

    Like

    • Hello Chris

      have you checked the outgoing email configuration in central administration. also check From address and reply to address. the email address is correct and some time user have issues to send emails so make sure the user email id is correct.

      Thanks

      Like

  4. Workflow emails come through correctly from the email account that is set up in email configuration on central administration. Its just these task assignments that are not coming through on email.

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s