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 145+ customers and delivering over 18 Million emails/month.

Configure Order confirmation emails with Email API for Golang

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 Golang

  • Confirm that you are using supported go version (1.14 or higher)

  • Install the package via

import "github.com/mailazy/mailazy-go"
  • Start Sending mail using the code provided below:

senderClient := mailazy.NewSenderClient("access_key", "access_secret")
to := "[email protected]"
from := "Sender "
subject := "Sending with mailazy is easy!"
textContent := ""
htmlContent := ""
req := mailazy.NewSendMailRequest(to, from, subject, textContent, htmlContent)
resp, err := senderClient.Send(req)

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