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.
Transactional emails is an important component of any email communication strategy. In order to ensure delivery of Transactional emails to your customers, reply on a trusted cloud-based email provider like Mailazy as a partner in your growth journey.
You need to complete these given prerequisites, you can skip the step if you have already completed.
Sign up for a Mailazy account.
Complete Domain Authentication.
Generate the Mailazy Access Key
Start Sending mail using the code provided below:
package main
import (
"gopkg.in/gomail.v2"
)
func main() {
m := gomail.NewMessage()
m.SetHeader("From", "sender@example.com")
m.SetHeader("To", "recipient@example.com")
m.SetHeader("Subject", "Hello!")
m.AddAlternative("text/html", "Hello Bob!")
m.AddAlternative("text/plain", "Hello Bob!")
// Send the email to Bob
dialer := gomail.NewPlainDialer("devsmtp.mailazy.com", 587, "access_key", "access_secret")
if err := dialer.DialAndSend(m); err != nil {
panic(err)
}
}
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.