C# Class Typesafe.Mailgun.MailgunClient

Provides access to the Mailgun REST API.
Inheritance: IMailgunAccountInfo, IMailgunClient
Afficher le fichier Open project: typesafe/mnailgun Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

CreateRoute() public méthode

public CreateRoute ( int priority, string description, Typesafe.Mailgun.Routing.RouteFilter expression ) : Typesafe.Mailgun.Routing.Route
priority int
description string
expression Typesafe.Mailgun.Routing.RouteFilter
Résultat Typesafe.Mailgun.Routing.Route

DeleteRoute() public méthode

public DeleteRoute ( string routeId ) : Typesafe.Mailgun.CommandResult
routeId string
Résultat Typesafe.Mailgun.CommandResult

GetRoutes() public méthode

public GetRoutes ( int skip, int take, int &count ) : IEnumerable
skip int
take int
count int
Résultat IEnumerable

GetStats() public méthode

public GetStats ( int skip, int take, MailgunEventTypes eventTypes, int &count ) : IEnumerable
skip int
take int
eventTypes MailgunEventTypes
count int
Résultat IEnumerable

MailgunClient() public méthode

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
Résultat System

SendBatchMail() public méthode

public SendBatchMail ( MailMessage mailMessage ) : Typesafe.Mailgun.SendMailCommandResult
mailMessage System.Net.Mail.MailMessage
Résultat Typesafe.Mailgun.SendMailCommandResult

SendBatchMail() public méthode

public SendBatchMail ( MailMessage mailMessage, object>.IDictionary recipientVariables ) : Typesafe.Mailgun.SendMailCommandResult
mailMessage System.Net.Mail.MailMessage
recipientVariables object>.IDictionary
Résultat Typesafe.Mailgun.SendMailCommandResult

SendMail() public méthode

public SendMail ( MailMessage mailMessage ) : Typesafe.Mailgun.SendMailCommandResult
mailMessage System.Net.Mail.MailMessage
Résultat Typesafe.Mailgun.SendMailCommandResult