Using SERVERLESS to send email

Step 1) Create Serverless Project

Step 2) Using custom handler.js

Opening the handler.js

default definition for the handler.js

Custom handler.js

handler.js for our project

Step 3) Updating serverless.yml

Step 4) Deploy the stack

Step 5) Sending email through API gateway

Identities issue as there regions are not the us-east-1

Successfully send email through the AWS SES.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Shobhit Singh Pal
Shobhit Singh Pal

No responses yet

Write a response