Skip to content

An easy way to use the Amazon Simple Email Service(SES) to send emails.

License

Notifications You must be signed in to change notification settings

Blank-Xu/ses-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SES

Go Report Card PkgGoDev License


An easy way to use the Amazon Simple Email Service(SES) api to send emails.

Installation

go get github.com/Blank-Xu/ses-go

Simple Example

package main

import (
	ses "github.com/Blank-Xu/ses-go"
	
	"fmt"
)

func main() {
	api := ses.NewAPI(endpoint, from, accessKeyID, secretAccessKey)

	body, err := api.SendMail(subject, bodyText, toAddresses)
	fmt.Println(body, err)

	body2, err := api.SendHTMLMail(subject, bodyHTML, toAddresses)
	fmt.Println(body2, err)
}

License

This project is under Apache 2.0 License. See the LICENSE file for the full license text.

About

An easy way to use the Amazon Simple Email Service(SES) to send emails.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages