srajelli / ses-go Goto Github PK
View Code? Open in Web Editor NEWA simple wrapper for Amazon SES in golang
License: MIT License
A simple wrapper for Amazon SES in golang
License: MIT License
Hi
When I try to send mail using:
package main
import (
"fmt"
"github.com/srajelli/ses-go"
)
func main() {
ses.SetConfiguration("my_my_aws_key_id", "my_aws_secret_key", "email-smtp.us-east-1.amazonaws.com")
emailData := ses.Email{
To: "[email protected]",
From: "[email protected]",
Text: "Hi this is the text message body",
Subject: "Sending email from aws ses api",
ReplyTo: "[email protected]",
}
resp := ses.SendEmail(emailData)
fmt.Println(resp)
}
I get this runtime error:
MissingEndpoint: 'Endpoint' configuration is required for this service
{
}
Appreciate your help to fix this.
Hi,
I've found this libs since its so simple and able to attach the AWS_SECRET_KEY and AWS_ACCESS_ID without set it in OS environment. However, I've tried to send email to the multiple destination but its failed.
Is there any special format to send email to the multiple destination?
Thank you
Bayu Permadi
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.