Skip to content

sendgrid/sendgrid-rails-sample-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SendGrid Sample App - Ruby on Rails

This git repository helps you to send emails quickly and easily through SendGrid using Ruby on Rails.

Create an SendGrid account at http://sendgrid.com/pricing.html

Clone SendGrid application on your local machine

    git clone https://github.com/sendgrid/sendgrid-rails-sample-app.git

###Configuration###

Configure config/environment.rb file with your information:

Update the <sendgrid_username> and <sendgrid_password> with your SendGrid credentials.

    ActionMailer::Base.smtp_settings = {
      :address        => 'smtp.sendgrid.net',
      :port           => '587',
      :authentication => :plain,
      :user_name      => '<sendgrid_username>',
      :password       => '<sendgrid_password>',
      :domain         => 'example.com',
      :enable_starttls_auto => true
    }

Upload your application to your server

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published