Zender is a free email delivery service, it is built as Web API to serve marketers & developers and make it easy to send email.
C#
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ZenderSendMail
.gitattributes
.gitignore
README.md
ZenderSendMail.sln

README.md

zender

Zender is a free email delivery service, it is built as Web API to serve marketers & developers and make it easy to send email. It is an email marketing solution.

You can use Zender to send unlimited emails

How to consume the Web API  

  1. First of all you need to get new API Key by registering & confirming your email in Zender
  2. In your Visual Studio project, Install the package from Nuget. This package will add a reference to Zender.Mail in your .NET application. Zender.Mail is the client library that is built to consume Zender Web API (Alternatively, you can also download and add the Zender.Mail.dll (1.0.0.0) reference manually): 
    PM> install-package Zender.Mail
  3. The code to send a new email:
    ZenderMessage message = new ZenderMessage("Your zender API Key");
    MailAddress from = new MailAddress("yourmail@example.com");
    MailAddress to = new MailAddress("tomail@example.com");
    message.From = from;
    message.To.Add(to);
    message.Subject = "Welcome!";
    message.Body = "<p><b>Lorem ipsum</b> dolor sit amet, consectetur adipiscing elit.</p>";
    message.IsBodyHtml = true;
    message.SendMailAsync();