This wrapper should be fairly self explanatory and the documentation on the MailChimp site will tell you everything you need to know.

Here is a quick example to get you started:

var api = new SesApi(yourMailChimpKey);
var result = api.SendEmail("Subject for test email",
	"<p>Body of HTML email</p>",
	"Body of plain text email",
	new EmailAddress("Sender name", "sender@nogginbox.co.uk"),
	new List { new EmailAddress("Recipient", "recipient@nogginbox.co.uk") },
	tags: new List { "test" }
);
if(result.status == "sent")
{
	Console.WriteLine("All is well.");
}

MailChimp Documentation

Last edited Mar 9, 2011 at 7:38 AM by RichardGarside, version 1

Comments

No comments yet.