C# Class Mandrill.Requests.Messages.SendMessageTemplateRequest

The request to send a new transactional message through Mandrill using a template.
Inheritance: RequestBase
Mostra file Open project: shawnmclean/Mandrill-dotnet Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
SendMessageTemplateRequest ( Mandrill.Models.EmailMessage message, string templateName ) : System

SendMessageTemplateRequest ( Mandrill.Models.EmailMessage message, string templateName, IEnumerable templateContents ) : System

Method Details

SendMessageTemplateRequest() public method

public SendMessageTemplateRequest ( Mandrill.Models.EmailMessage message, string templateName ) : System
message Mandrill.Models.EmailMessage The other information on the message to send - same as /messages/send, but without the html content.
templateName string The immutable name or slug of a template that exists in the user's account. For backwards-compatibility, the template name may also be used but the immutable slug is preferred.
return System

SendMessageTemplateRequest() public method

public SendMessageTemplateRequest ( Mandrill.Models.EmailMessage message, string templateName, IEnumerable templateContents ) : System
message Mandrill.Models.EmailMessage The other information on the message to send - same as /messages/send, but without the html content.
templateName string The immutable name or slug of a template that exists in the user's account. For backwards-compatibility, the template name may also be used but the immutable slug is preferred.
templateContents IEnumerable An array of template content to send.
return System