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

I am setting the AssignedTo and SendEmailNotification properties for the SPWorkflowTaskProperties object, the task gets created and assigned correctly but no email is received.

How can I check if this email is not getting sent or if it is getting sent but somehow blocked by the mail server?

Note that all other emails seem to be working correctly.


share|improve this question
are you sending emails to a group? – Ashish Patel Feb 10 '12 at 13:22
No, it's a single user – Spre3 Feb 10 '12 at 14:20

Since you are not using an email activity in wf, did you checked the option 'Send e-mail when ownership is assigned?' in the associated Tasks list is set to yes ?

share|improve this answer

Can you try sending the mail using System.Net.Mail ? Here you have a property called DeliveryNotificationOptions which could bring you delivery notification status whatever happens.

share|improve this answer
up vote 0 down vote accepted

I randomly came across the solution on this post.

The problem was the E-Mail Notification option in the Advanced Task List Settings. This needs to be set to true and on a custom list this can be done by setting the attribute EmailAssignTo to true on the list definition.

<List xmlns:ows="Microsoft SharePoint" EmailAssignTo="TRUE">


I don't think this option is documented on MSDN.

share|improve this answer
Hmm, I'm wondering why this answer was marked and not mine. – Ovidiu Becheş-Puia Feb 17 '12 at 7:20
I had solved my problem before you answered, just couldn't post my solution due to time limit. But I wouldn't have been able to solve it with your answer anyway since it doesn't tell me how to set that option in a custom list. More than happy to mark your's as an answer if you want. – Spre3 Feb 17 '12 at 10:58

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.