Partager via


GeneralExtensions.SendSingleEmail Method

Definition

this will send an Email to the

public static bool SendSingleEmail (this Microsoft.PowerPlatform.Dataverse.Client.ServiceClient serviceClient, Guid emailid, string token, Guid batchId = default, bool bypassPluginExecution = false);
static member SendSingleEmail : Microsoft.PowerPlatform.Dataverse.Client.ServiceClient * Guid * string * Guid * bool -> bool
<Extension()>
Public Function SendSingleEmail (serviceClient As ServiceClient, emailid As Guid, token As String, Optional batchId As Guid = Nothing, Optional bypassPluginExecution As Boolean = false) As Boolean

Parameters

serviceClient
ServiceClient

ServiceClient

emailid
Guid

ID of the Email activity

token
String

Tracking Token or Null

batchId
Guid

Optional: if set to a valid GUID, generated by the Create Batch Request Method, will assigned the request to the batch for later execution, on fail, runs the request immediately

bypassPluginExecution
Boolean

Adds the bypass plugin behavior to this request. Note: this will only apply if the caller has the prvBypassPlugins permission to bypass plugins. If its attempted without the permission the request will fault.

Returns

Applies to