Monthly Archives: September 2015

SPUtility.SendEmail adds spaces and new lines to email body

Problem: When using SPUtility.SendEmail  to send emails, sometimes it adds spaces and new lines to the email body automatically, or sometimes it even removes some characters, or change < to <. Solution: Add “\n” at the end of each paragraph … Continue reading

Posted in SharePoint 2010, Visual Studio 2010 | Leave a comment

Create SharePoint Sequential Workflow with multiple tasks in Visual Studio 2010

What I wanted to Achieve: CityLink sends us an invoice (along with a csv file for travel details) every month. Before we made the payment, we need all e-Tag holders to review their travel details in the invoice and make … Continue reading

Posted in SharePoint 2010, Visual Studio 2010, Workflow | 1 Comment

Delay Activity in SharePoint 2010 Workflow (Visual Studio 2010) Not Firing

Three settings needed to be modified. Workflow Throttle, Workflow Batch, and the Hidden Workflow Timer. You can check the current throttle setting by running the following command: stsadm -o getproperty -pn workflow-eventdelivery-throttle Here is my new setting: stsadm -o setproperty … Continue reading

Posted in SharePoint 2010, Visual Studio 2010, Workflow | Leave a comment