C# Класс Typesafe.Mailgun.MailgunClient

Provides access to the Mailgun REST API.
Наследование: IMailgunAccountInfo, IMailgunClient
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CreateRoute ( int priority, string description, Typesafe.Mailgun.Routing.RouteFilter expression ) : Typesafe.Mailgun.Routing.Route
DeleteRoute ( string routeId ) : Typesafe.Mailgun.CommandResult
GetRoutes ( int skip, int take, int &count ) : IEnumerable
GetStats ( int skip, int take, MailgunEventTypes eventTypes, int &count ) : IEnumerable
MailgunClient ( string domain, string apiKey, int version ) : System

Initializes a new client for the specified domain and api key.

SendBatchMail ( MailMessage mailMessage ) : Typesafe.Mailgun.SendMailCommandResult
SendBatchMail ( MailMessage mailMessage, object>.IDictionary recipientVariables ) : Typesafe.Mailgun.SendMailCommandResult
SendMail ( MailMessage mailMessage ) : Typesafe.Mailgun.SendMailCommandResult

Описание методов

CreateRoute() публичный Метод

public CreateRoute ( int priority, string description, Typesafe.Mailgun.Routing.RouteFilter expression ) : Typesafe.Mailgun.Routing.Route
priority int
description string
expression Typesafe.Mailgun.Routing.RouteFilter
Результат Typesafe.Mailgun.Routing.Route

DeleteRoute() публичный Метод

public DeleteRoute ( string routeId ) : Typesafe.Mailgun.CommandResult
routeId string
Результат Typesafe.Mailgun.CommandResult

GetRoutes() публичный Метод

public GetRoutes ( int skip, int take, int &count ) : IEnumerable
skip int
take int
count int
Результат IEnumerable

GetStats() публичный Метод

public GetStats ( int skip, int take, MailgunEventTypes eventTypes, int &count ) : IEnumerable
skip int
take int
eventTypes MailgunEventTypes
count int
Результат IEnumerable

MailgunClient() публичный Метод

Initializes a new client for the specified domain and api key.
public MailgunClient ( string domain, string apiKey, int version ) : System
domain string
apiKey string
version int
Результат System

SendBatchMail() публичный Метод

public SendBatchMail ( MailMessage mailMessage ) : Typesafe.Mailgun.SendMailCommandResult
mailMessage System.Net.Mail.MailMessage
Результат Typesafe.Mailgun.SendMailCommandResult

SendBatchMail() публичный Метод

public SendBatchMail ( MailMessage mailMessage, object>.IDictionary recipientVariables ) : Typesafe.Mailgun.SendMailCommandResult
mailMessage System.Net.Mail.MailMessage
recipientVariables object>.IDictionary
Результат Typesafe.Mailgun.SendMailCommandResult

SendMail() публичный Метод

public SendMail ( MailMessage mailMessage ) : Typesafe.Mailgun.SendMailCommandResult
mailMessage System.Net.Mail.MailMessage
Результат Typesafe.Mailgun.SendMailCommandResult