Skip to content

viniciusls/nodejs-aws-sendmail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nodejs-sendmail

A NodeJS application to send mail using Amazon SES

How to use

  • Configure your Amazon AWS credentials on your environment (Tutorial here);

  • Download the project as .zip;

  • Enter into project directory and run npm install;

  • Run npm app.js;

  • Try it using Postman or cURL, e.g.: curl --data "fromaddress=<FROM_ADDRESS>&toaddresses=<TO_ADDRESSES>&subject=Test mail&text=This is a test mail" http://localhost:3000/mail/send

Parameters per endpoint

mail/send

  • fromaddress: Email address from where the e-mail will be sent;
  • toaddresses: Email addresses that will receive the mail message;
  • subject: Subject of the mail;
  • text: Message of the mail;
  • replytoaddress (optional): Email address to where the receiver will reply.

About

A NodeJS application to send mail using Amazon SES

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published