No description, website, or topics provided.
Ruby CSS JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app add details Jan 29, 2014
bin default rails app Jan 29, 2014
config add details Jan 29, 2014
db default rails app Jan 29, 2014
lib default rails app Jan 29, 2014
log default rails app Jan 29, 2014
public default rails app Jan 29, 2014
test default rails app Jan 29, 2014
vendor/assets default rails app Jan 29, 2014
.gitignore default rails app Jan 29, 2014
Gemfile update to rails 4.0.4 to fix security vuln Apr 10, 2014
Gemfile.lock Rails 4.0.4 Apr 16, 2014
README.md readme Jan 29, 2014
README.rdoc default rails app Jan 29, 2014
Rakefile default rails app Jan 29, 2014
config.ru default rails app Jan 29, 2014

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