Skip to content

cyclingup/mailit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Demo how to send email via SendGrid with a Rails app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published