Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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 stackoverflow.com 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 SharePoint.StackExchange.com site. –  SPDoctor Nov 11 '11 at 12:40

2 Answers 2

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.