Coder Social home page Coder Social logo

0x4447-toolbox-aws-lambda-send-email's Introduction

0x4447 Toolbox AWS Lambda Send Email

The purpouse of this AWS Lambda function is to quickly add email sending capapbilities in to your project. Once deployed you have to just invoce this function with the following payload:

{
    from        : '"First Last" <[email protected]>',
    to          : '[email protected]',
    subject     : 'Nice subject',
    reply_to    : '[email protected]'                    || '',
    html        : '<p>HTML version of the message</p>'  || '',
    text        : 'Plaintext version of the messag'     || ''
}

The function will return the messageId and response so you can log the ID of the sent email

{
    messageId: '<[email protected]>',
    response: '0000000000000-0000-000-000-000-000-000000' 
}

IAM Role

For the function to wokr you'll need to create a Role with the following policies:

  • AWSLambdaBasicExecutionRole
  • AmazonSESFullAccess

The End

If you enjoyed this project, please consider giving it a ๐ŸŒŸ. And check out our 0x4447 GitHub account, where we have additional articles and tools that you might find interesting.

For Hire ๐Ÿ‘จโ€๐Ÿ’ป ๐Ÿ‘ฉโ€๐Ÿ’ป

If you'd like us to help you with something, please feel free to say [email protected], and share what's on your mind. We'll take a look, and try our best to help you. Or visit our website at: 0x4447.com.

0x4447-toolbox-aws-lambda-send-email's People

Contributors

davidgatti avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.