CRMEmailTemplate Class

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

There are no properties for this class.

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.

For more information about using XML, see XML Document Object Model.

  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.Proxy

Assembly: microsoft.crm.proxy.dll

See Also

© 2003 Microsoft Corporation. All rights reserved.