ISharePointService.SendEmail Method
Sends an email message concerning the workflow.
Namespace: Microsoft.SharePoint.Workflow
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Sub SendEmail ( _
workflowId As Guid, _
includeStatus As Boolean, _
headers As StringDictionary, _
body As String _
)
'Usage
Dim instance As ISharePointService
Dim workflowId As Guid
Dim includeStatus As Boolean
Dim headers As StringDictionary
Dim body As String
instance.SendEmail(workflowId, includeStatus, _
headers, body)
void SendEmail(
Guid workflowId,
bool includeStatus,
StringDictionary headers,
string body
)
Parameters
workflowId
Type: System.GuidThe ID of the workflow instance.
includeStatus
Type: System.BooleanTrue to include the workflow status in the email, False not to include the workflow status.
headers
Type: System.Collections.Specialized.StringDictionaryThe headers of the email message.
body
Type: System.StringThe body text of the email message
Remarks
This method is used by the SendEmail class of the Microsoft.SharePoint.WorkflowActions namespace.