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 using visual studio 2010(sequential sharepoint work flow) and trying to send an email activity automatically when the approval is rejected. I have added the "send email" activity in the workflow design. Can some body please tell me what has to be added to code. I would appreciate a detailed explanation as I am doing this for the first time. The workflow will be added to sharepoint.

share|improve this question

migrated from Nov 11 '11 at 12:55

This question came from our site for professional and enthusiast programmers.

This question is probably off-topic for StackOverflow, but would be very welcome on the site. – SPDoctor Nov 11 '11 at 12:40

When using the Send Email Activity you can set the subject, body, sendto etc.. in the property window or by settings this in code.

A good start building workflows in SharePointyou can read Workflow Technical Articles for SharePoint 2010 or step by stem tutorial creating workflows for SharePoint

share|improve this answer

Your Answer


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