CRMEmailTemplate Class

The CRMEmailTemplate class contains methods that you can use to manage e-mail templates.

Note You can create a structure for the e-mail template that is meaningful for the application that you are creating. These templates do not work with the Microsoft CRM application, which uses a proprietary e-mail template format.

There are no properties for this class.

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         System.Web.Services.Protocols.WebClientProtocol
            System.Web.Services.Protocols.HttpWebClientProtocol
               System.Web.Services.Protocols.SoapHttpClientProtocol
                  CRMEmailTemplate

[Visual Basic .NET]
Public Class CRMEmailTemplate
   Inherits System.Web.Services.Protocols.SoapHttpClientProtocol
[C#]
public class CRMEmailTemplate : System.Web.Services.Protocols.SoapHttpClientProtocol
[C++]
public __gc class CRMEmailTemplate: public System.Web.Services.Protocols.SoapHttpClientProtocol

The CRMEmailTemplate class exposes the following methods.

Method Description
Assign Assigns the template to a new owner.
Create Creates a personal e-mail template.
CreateAndRetrieve Creates a personal e-mail template and then retrieves it.
Delete Deletes a personal e-mail template.
Instantiate Creates an e-mail message from a template.
MakeAvailableToOrganization Makes the specified e-mail template available to the entire organization.
MakePrivate Makes a template private.
MakePublic Makes a template public.
MakeUnvailableToOrganization Makes the specified e-mail template no longer available to the entire organization.
Retrieve Retrieves a personal e-mail template.
RetrieveByPrincipal Retrieves all templates that are owned by a security principal (user or team).
RetrievePrincipalAccess Retrieves the access rights the security principal has for the specified e-mail template.
Send Sends a bulk e-mail message that was created from a template.
Update Updates a personal e-mail template.
UpdateAndRetrieve Updates a personal e-mail template and then retrieves it.

Requirements

Namespace: Microsoft.Crm.Platform.Proxy

Assembly: Microsoft.Crm.Platform.Proxy.dll

See Also

© 2005 Microsoft Corporation. All rights reserved.