C# Class MadMimi.Api

A simple wrapper for sending MadMimi mailers
Afficher le fichier Open project: madmimi/madmimi-dotnet Class Usage Examples

Méthodes publiques

Méthode Description
AddAudienceListMembership ( string email, string list ) : Result
Api ( ) : System

Initializes a new instance of the MadMimi.Api class.

Api ( Config config ) : System

Initializes a new instance of the MadMimi.Api class.

Api ( string username, string apiKey ) : System

Initializes a new instance of the MadMimi.Api class.

SendEmail ( MailAddress fromAddress, string subject, MailAddress recipientAddress, string rawHtml, string rawPlainText ) : Result
SendEmail ( Parameters parameters ) : Result

Private Methods

Méthode Description
Get ( string path, Parameters parameters ) : Result
Post ( string path, Parameters parameters ) : Result
Post ( string path, Parameters parameters, bool ssl ) : Result

Method Details

AddAudienceListMembership() public méthode

public AddAudienceListMembership ( string email, string list ) : Result
email string
list string
Résultat Result

Api() public méthode

Initializes a new instance of the MadMimi.Api class.
public Api ( ) : System
Résultat System

Api() public méthode

Initializes a new instance of the MadMimi.Api class.
public Api ( Config config ) : System
config Config /// The to use. ///
Résultat System

Api() public méthode

Initializes a new instance of the MadMimi.Api class.
public Api ( string username, string apiKey ) : System
username string /// Username. ///
apiKey string /// API key. ///
Résultat System

SendEmail() public méthode

public SendEmail ( MailAddress fromAddress, string subject, MailAddress recipientAddress, string rawHtml, string rawPlainText ) : Result
fromAddress MailAddress
subject string
recipientAddress MailAddress
rawHtml string
rawPlainText string
Résultat Result

SendEmail() public méthode

public SendEmail ( Parameters parameters ) : Result
parameters Parameters
Résultat Result