Skip to content
No description or website provided.
Ruby CSS JavaScript
Find file
Latest commit faa2d59 @mariusrusu mariusrusu Merge pull request #3 from mariusrusu/rails_4_0_4
update to rails 4.0.4 to fix security vuln
Failed to load latest commit information.
app add details
bin default rails app
config add details
db default rails app
lib default rails app
log default rails app
public default rails app
test default rails app
vendor/assets default rails app
.gitignore default rails app
Gemfile update to rails 4.0.4 to fix security vuln
Gemfile.lock Rails 4.0.4
README.md readme
README.rdoc default rails app
Rakefile default rails app
config.ru default rails app

README.md

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

Something went wrong with that request. Please try again.