项目作者: insightica-in

项目描述 :
Serverless service to send email using Amazon Simple Email Service
高级语言: HTML
项目地址: git://github.com/insightica-in/ses-mailer.git
创建时间: 2019-05-09T18:07:25Z
项目社区:https://github.com/insightica-in/ses-mailer

开源协议:

下载


SES-MAILER-SERVICE

This service sends out emails using SES and with API Gateway. And can be used to send out notification/mail for some transactional activity.
This I personally used to integrate “contact us” form in a static website.

How to use

update the following variables in serverless.yml
SES_KEY: <AWS_KEY>
SES_SECRET: <AWS_SECRET>
SENDER_EMAIL: <my@verified.email>

default endpoint:
/mail

Request body
{ "to": "your@verified.mail", "subject": "My ses email", "message": "YOUR-MESSAGE-BODY" }

to: recipents email address
subject: mail subject
message: mail body

Note:

  • sender email address has to be always verfied before you can post a successfull request.