Skip to content

ratogabriel/mailazy-go

Repository files navigation

Mailazy Logo

Prerequisites

  • Go version 1.14
  • The Mailazy account, accessible here.

Usage

import "github.com/mailazy/mailazy-go"

Example Usage

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

resp, err := senderClient.Send(req)

About

Mailazy Golang SDK

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages