Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.01 KB

README.md

File metadata and controls

35 lines (24 loc) · 1.01 KB

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: <[email protected]>

default endpoint: /mail

Request body { "to": "[email protected]", "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.