For Developers By Developers

You can integrate Mailazy in minutes with your platform. Build and monitor your email solution on a trusted foundation with technical and strategic support when you need it the most.

Trusted by 120+ partners and delivering over 650 Million emails/month

Configure Order confirmation emails with Email API for CSharp

Order confirmation emails is an important component of any email communication strategy. In order to ensure delivery of Order confirmation emails to your customers, reply on a trusted cloud-based email provider like Mailazy as a partner in your growth journey.

Prerequisites

You need to complete these given prerequisites, you can skip the step if you have already complete.

  1. Sign up for a Mailazy account.

  2. Complete Domain Authentication.

  3. Generate the Mailazy Access Key

  4. Integrate API in your language.

Integration with CSharp

  • Start Sending mail using the code provided below:

var client = new RestClient("https://api.mailazy.com/v1/mail/send");
client.Timeout = -1;
var request = new RestRequest(Method.POST);
request.AddHeader("X-Api-Key", "");
request.AddHeader("X-Api-Secret", "");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{" +
      "\"to\": [\"example@example.com\"]," +
      "\"from\": \"Sender \"," +
      "\"subject\": \"\"," +
      "\"content\": [{\"type\": \"text/plain\",\"value\": \"\"}]" +
    "}",  ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);

Send transactional emails with Mailazy

Mailazy email delivery platform is powered by AI and uses the global infrastructure so that you can scale effortlessly. Mailazy is the trusted transactional email provider for hundreds of businesses and we are growing every day. We are known for being the most reliable and trusted senders on the internet.

Ready to get started?

Get started — it's free