Skip to content

Tutorial on using the AWS SES API to generate emails with attachments, create/list/delete verified senders. We will be using NodeJS as our primary language but it can be done using any language the AWS SDK supports.

Notifications You must be signed in to change notification settings

andrewpuch/aws-ses-node-js-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS SES NodeJS Example

Follow the instructions below on an EC2 Ubuntu instance. This tutorial will help you setup the AWS SDK using NodeJS. There are a few endpoints to send email with attachments, create a verified sender, delete a verified sender, and list all of your verified senders. If you have any questions please contact me!

sudo su
apt-get update
apt-get upgrade -y
apt-get dist-upgrade -y
apt-get autoremove -y
apt-get install nodejs npm git -y
ln -s /usr/bin/nodejs /usr/bin/node
git clone https://github.com/andrewpuch/aws-ses-node-js-examples.git
cd aws-ses-node-js-examples
npm install
cp config-sample.json config.json

NOTE: Here you will want to edit config.json with your AWS keys and in app.js you will want to edit the email address with your own email address. For this tutorial we will just send email to ourselves.

node app.js

About

Tutorial on using the AWS SES API to generate emails with attachments, create/list/delete verified senders. We will be using NodeJS as our primary language but it can be done using any language the AWS SDK supports.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published