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.

  • 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

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

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy