Share via


BulkDetectDuplicatesRequest.SendEmailNotification Property

 

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

Gets or sets a value that indicates whether an email notification is sent after the asynchronous system job that detects multiple duplicate records finishes running. Required.

Namespace:   Microsoft.Crm.Sdk.Messages
Assembly:  Microsoft.Crm.Sdk.Proxy (in Microsoft.Crm.Sdk.Proxy.dll)

Syntax

public bool SendEmailNotification { get; set; }
Public Property SendEmailNotification As Boolean

Property Value

Type: System.Boolean

Type: Boolean
true if an email notification should be sent after the job to detect multiple duplicate records is finished running or has failed; otherwise, false.

Remarks

If you set this property to true, the following requirements also apply:

  • The caller must have prvCreateEmailTemplate and prvReadEmailTemplate privileges in addition to the privileges that are needed to detect duplicate records.

  • You must specify a value for the ToRecipients property.

  • For the email notification, use the email template or custom email templates. To customize the email templates, see the Templates area of the web application. To access these templates, in the nav bar, choose Settings > Templates > Email Templates.

If you set the SendEmailNotification property to false, the TemplateId, ToRecipients, and CCRecipients properties are not used in the BulkDetectDuplicatesRequest class. We recommend that you set the unused properties to the following values:

TemplateId = Guid.Empty;
ToRecipients = new Guid[0];
CCRecipients = new Guid[0];

See Also

BulkDetectDuplicatesRequest Class
Microsoft.Crm.Sdk.Messages Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright