Skip to content
This repository has been archived by the owner on Nov 6, 2019. It is now read-only.

forget password link not working #56

Open
Aaronmb123 opened this issue May 23, 2018 · 2 comments
Open

forget password link not working #56

Aaronmb123 opened this issue May 23, 2018 · 2 comments
Assignees

Comments

@Aaronmb123
Copy link
Contributor

No description provided.

@ybakos
Copy link
Member

ybakos commented May 23, 2018

SendGrid has been added to staging and prod.

See configuration documentation here: https://devcenter.heroku.com/articles/sendgrid

The short story is:

development.rb

config.action_mailer.delivery_method = :test
host = 'localhost:3000'
config.action_mailer.default_url_options = { host: host, protocol: 'https' }

production.rb

  config.action_mailer.perform_caching = false
  config.action_mailer.raise_delivery_errors = true
  config.action_mailer.delivery_method = :smtp
  host = 'abilitree-intouch.herokuapp.com'
  config.action_mailer.default_url_options = { host: host }
  ActionMailer::Base.smtp_settings = {
    address:              'smtp.sendgrid.net',
    port:                 '587',
    authentication:       :plain,
    user_name:            ENV['SENDGRID_USERNAME'],
    password:             ENV['SENDGRID_PASSWORD'],
    domain:               'heroku.com',
    enable_starttls_auto: true
  }

@Aaronmb123 Aaronmb123 self-assigned this May 23, 2018
@Aaronmb123
Copy link
Contributor Author

works on production, via 696b530, 696b530, and 696b530

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants