OrganizationServiceContextExtensions.SendBulkMail Method (OrganizationServiceContext, EntityReference, Guid, String, Guid, QueryBase)


Applies To: Dynamics CRM 2015

Sends bulk email messages. (Developer Extensions)

Namespace:   Microsoft.Xrm.Client.Messages
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)


public static void SendBulkMail(
    this OrganizationServiceContext context,
    EntityReference sender,
    Guid templateId,
    string regardingType,
    Guid regardingId,
    QueryBase query
static void SendBulkMail(
    OrganizationServiceContext^ context,
    EntityReference^ sender,
    Guid templateId,
    String^ regardingType,
    Guid regardingId,
    QueryBase^ query
static member SendBulkMail : 
        context:OrganizationServiceContext *
        sender:EntityReference *
        templateId:Guid *
        regardingType:string *
        regardingId:Guid *
        query:QueryBase -> unit
Public Shared Sub SendBulkMail (
    context As OrganizationServiceContext,
    sender As EntityReference,
    templateId As Guid,
    regardingType As String,
    regardingId As Guid,
    query As QueryBase



This is a method wrapper for the SendBulkMailRequest and SendBulkMailResponse classes. See the documentation in the Request class for more information about this message.

See Also

OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client.Messages Namespace
Developer extensions for Microsoft Dynamics CRM 2015

Return to top

© 2017 Microsoft. All rights reserved. Copyright