CrmServiceClient.SendSingleEmail Method (Guid, String, Guid)


Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Sends an email.

Namespace:   Microsoft.Xrm.Tooling.Connector
Assembly:  Microsoft.Xrm.Tooling.Connector (in Microsoft.Xrm.Tooling.Connector.dll)


public bool SendSingleEmail(
    Guid emailid,
    string token,
    Guid batchId = null
Public Function SendSingleEmail (
    emailid As Guid,
    token As String,
    batchId As Guid
) As Boolean


  • batchId
    Type: System.Guid

    Optional. If set to a valid GUID (generated by CreateBatchOperationRequest), will assign the request to the batch for later execution. Otherwise, runs the request immediately.

Return Value

Type: System.Boolean

See Also

CrmServiceClient Class
Microsoft.Xrm.Tooling.Connector Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright