SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have a SharePoint 2010 solution that uses a standard task list.

We would like to turn off alerts for when items change in / are added to the task list.

Is there a way to do this in code, either when we create the site, or when we add items to the task list?


The solution given by Rob for changing the setting via the UI works fine.

However, we have had problems doing it via code.

Changing the EnableAssignToEmail through code does not affect the value of "Send e-mail when ownership is assigned?".

What is interesting is that setting the "Send e-mail when ownership is assigned?" in the UI from yes to no, will set EnableAssignToEmail to false. But setting it back to yes will not have any affect on EnableAssignToEmail.

share|improve this question
up vote 5 down vote accepted

On the task list, go to List Settings --> Advanced settings. There is an "Email Notification" setting that defaults to yes. Changing it to no should work for you.

To do it programatically from your event receiver: SPList.EnableAssignToEmail = false;

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.