Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Mailgun wrapper
type MailgunClient struct {
*mailgun.MailgunImpl
}
func (c *MailgunClient) Mail(e Email) error {
msg :=// convert Email to Mailgun format
_, _, err := c.Send(msg)
return err
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.