aws-lambda-ses-forwarder | Serverless email forwarding using AWS Lambda and SES | AWS library

 by   arithmetric JavaScript Version: 5.1.0 License: MIT

kandi X-RAY | aws-lambda-ses-forwarder Summary

kandi X-RAY | aws-lambda-ses-forwarder Summary

aws-lambda-ses-forwarder is a JavaScript library typically used in Cloud, AWS applications. aws-lambda-ses-forwarder has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can install using 'npm i lambda-ses-extractor' or download it from GitHub, npm.

Serverless email forwarding using AWS Lambda and SES
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              aws-lambda-ses-forwarder has a medium active ecosystem.
              It has 1537 star(s) with 429 fork(s). There are 62 watchers for this library.
              There were 1 major release(s) in the last 12 months.
              There are 57 open issues and 36 have been closed. On average issues are closed in 152 days. There are 11 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of aws-lambda-ses-forwarder is 5.1.0

            kandi-Quality Quality

              aws-lambda-ses-forwarder has 0 bugs and 0 code smells.

            kandi-Security Security

              aws-lambda-ses-forwarder has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              aws-lambda-ses-forwarder code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              aws-lambda-ses-forwarder is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              aws-lambda-ses-forwarder releases are available to install and integrate.
              Deployable package is available in npm.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed aws-lambda-ses-forwarder and discovered the below as its top functions. This is intended to give you an instant insight into aws-lambda-ses-forwarder implemented functionality, and help decide if they suit your requirements.
            • Adds a reply to the email .
            Get all kandi verified functions for this library.

            aws-lambda-ses-forwarder Key Features

            No Key Features are available at this moment for aws-lambda-ses-forwarder.

            aws-lambda-ses-forwarder Examples and Code Snippets

            No Code Snippets are available at this moment for aws-lambda-ses-forwarder.

            Community Discussions

            Trending Discussions on aws-lambda-ses-forwarder

            QUESTION

            Email Forwarding on Amazon Web Service SES
            Asked 2018-Apr-18 at 07:51

            I'm trying to set up an email to go to my custom domain name, which I will call "mydomainname". Currently I can send emails to "contact@mydomainname.com" and receive no error from sending the email, but the received email does not show up in my bucket or spam folder.

            I've been following instructions on this github and this tutorial .

            I don't understand what the github instructions mean for the instruction that states

            "Modify the values in the config object at the top of index.js to specify the S3 bucket and object prefix for locating emails stored by SES. Also provide the email forwarding mapping from original destinations to new destination."

            I've tried to guess at what that means by changing the index.js file to the as shown here

            I suspect there is an error in the code above,

            As well, I receive the following error for the JSON in my lambda-basic-execution

            And the error that I receive

            .

            .

            .

            I've included the following screenshots for reference

            This is my recipient rule

            This shows some information on the settings of my lambda page

            ...

            ANSWER

            Answered 2018-Apr-18 at 07:51

            The error you show is just a warning for the resource not existing, you should still be able to create the policy for the same.

            See if you actually did create the policy and test it again.

            Also make sure there are no invalid or duplicate rules which may be causing the issue

            Source https://stackoverflow.com/questions/49849062

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install aws-lambda-ses-forwarder

            Modify the values in the config object at the top of index.js to specify the S3 bucket and object prefix for locating emails stored by SES. Also provide the email forwarding mapping from original destinations to new destination. In AWS Lambda, add a new function and skip selecting a blueprint. Name the function "SesForwarder" and optionally give it a description. Ensure Runtime is set to Node.js 12.x. (Node.js 10.x is also supported.). For the Lambda function code, either copy and paste the contents of index.js into the inline code editor or zip the contents of the repository and upload them directly or via S3. Ensure Handler is set to index.handler.
            Modify the values in the config object at the top of index.js to specify the S3 bucket and object prefix for locating emails stored by SES. Also provide the email forwarding mapping from original destinations to new destination.
            In AWS Lambda, add a new function and skip selecting a blueprint.
            Name the function "SesForwarder" and optionally give it a description. Ensure Runtime is set to Node.js 12.x. (Node.js 10.x is also supported.)
            For the Lambda function code, either copy and paste the contents of index.js into the inline code editor or zip the contents of the repository and upload them directly or via S3.
            Ensure Handler is set to index.handler.
            For Role, choose "Basic Execution Role" under Create New Role. In the popup, give the role a name (e.g., LambdaSesForwarder). Configure the role policy to the following:
            Configure the Memory and Timeout settings according to your use case. For simple text emails, a memory limit of 128 MB and timeout of 10 seconds should be sufficient. For emails with large attachments, a memory limit of 512 MB or more and timeout of 30 seconds may be required.
            In AWS SES, verify the domains for which you want to receive and forward email. Also configure the DNS MX record for these domains to point to the email receiving (or inbound) SES endpoint. See SES documentation for the email receiving endpoints in each region.
            If you have the sandbox level of access to SES, then also verify any email addresses to which you want to forward email that are not on verified domains.
            If you have not configured inbound email handling, create a new Rule Set. Otherwise, you can use an existing one.
            Create a rule for handling email forwarding functionality.
            On the Recipients configuration page, add any email addresses from which you want to forward email.
            On the Actions configuration page, add an S3 action first and then an Lambda action.
            For the S3 action: Create or choose an existing S3 bucket. Optionally, add an object key prefix. Leave Encrypt Message unchecked and SNS Topic set to [none].
            For the Lambda action: Choose the SesForwarder Lambda function. Leave Invocation Type set to Event and SNS Topic set to [none].
            Finish by naming the rule, ensuring it's enabled and that spam and virus checking are used.
            If you get an error like "Could not write to bucket", follow step 7 before completing this one
            If you are asked by SES to add permissions to access lambda:InvokeFunction, agree to it.
            The S3 bucket policy needs to be configured so that your IAM user has read and write access to the S3 bucket. When you set up the S3 action in SES, it may add a bucket policy statement that denies all users other than root access to get objects. This causes access issues from the Lambda script, so you will likely need to adjust the bucket policy statement with one like this:
            Optionally set the S3 lifecycle for this bucket to delete/expire objects after a few days to clean up the saved emails.

            Support

            Test the configuration by sending emails to recipient addresses.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • npm

            npm i aws-lambda-ses-forwarder

          • CLONE
          • HTTPS

            https://github.com/arithmetric/aws-lambda-ses-forwarder.git

          • CLI

            gh repo clone arithmetric/aws-lambda-ses-forwarder

          • sshUrl

            git@github.com:arithmetric/aws-lambda-ses-forwarder.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular AWS Libraries

            localstack

            by localstack

            og-aws

            by open-guides

            aws-cli

            by aws

            awesome-aws

            by donnemartin

            amplify-js

            by aws-amplify

            Try Top Libraries by arithmetric

            lambda-stash

            by arithmetricJavaScript

            awespottr

            by arithmetricJavaScript

            badcamp2014-behat-travisci

            by arithmetricShell

            zcashrpcclient

            by arithmetricGo

            bridges

            by arithmetricJavaScript