Giter Site home page Giter Site logo

actionmailbox-amazon-ses-ingress's Introduction

ActionMailboxAmazonSesIngress

Provides Amazon SES/S3/SNS integration with Rails ActionMailbox.

Installation

Add following line to your application's Gemfile:

gem 'actionmailbox_amazon_ses_ingress', github: "denkungsart/actionmailbox-amazon-ses-ingress"

Configuration

Amazon SES/S3/SNS

Configure the SES to deliver incoming emails to an S3 bucket and notify an SNS topic.

If your website is hosted at https://www.example.com then configure an SNS subscription to publish the SES notification to this HTTPS endpoint:

https://example.com/rails/action_mailbox/amazon_ses/inbound_emails

Rails

Configure ActionMailbox to accept emails from Amazon SES:

# config/environments/production.rb
config.action_mailbox.ingress = :amazon_ses

Configure SNS topics and S3 credentials:

# config/mailbox.yml
production:
  amazon_ses:
    subscribed_topics:
    - <%= ENV["SNS_TOPIC_ARN_1"] %>
    - <%= ENV["SNS_TOPIC_ARN_2"] %>
    s3:
      access_key_id: <%= ENV["AWS_ACCESS_KEY_ID"] %>
      secret_access_key: <%= ENV["AWS_SECRET_ACCESS_KEY"] %>

Credits

Sunil Sharma This gem was made possible by the contributions of Bob Farrell, Chris Ortman and Marco Borromeo to this pull request.

actionmailbox-amazon-ses-ingress's People

Contributors

andreas-venturini avatar sunil567 avatar fschwahn avatar sunil-filmmakers avatar

Watchers

 avatar  avatar  avatar Denkungsart Bot 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.