GithubHelp home page GithubHelp logo

mailit's Introduction

mailit: Send Mail from your Rails App using SendGrid's Cloud SMTP Service

This prototype demonstrates how to configure your Rails App to send email via SendGrid (or any other SMTP service). This project is deliberately simple so you can understand it more easily. It is derived from a RailsCast about ActionMailer. I made several improvements, including a) using environment variables to securely pass authentication credentials to the Rails app, and b) allowing for different production and development environments. Pay particular attention to the setup_mail.rb file, where I explain how to pass in your email server credentials securely. That's the secret sauce!

For a more complete example, see my extension of Mattan Griffel's One Month Rails: Teach Yourself to Code application here on SkillShare or here on Github by Paul Kincaid-Smith

Fellow One Month Rails students: Does your app need to send email? Most do, and I'll show you how. This prototype demonstrates how to send mail reliably from the cloud. Since virtually every mature web application sends email (e.g. signup confirmations, password reset notifications, purchase receipts, etc.) this prototype shows how to email notifications for free via SendGrid.

SendGrid is a developer-friendly email delivery service.

mailit's People

Contributors

cyclingup avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

amomusik

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.