Skip to content

Devise emails sending as plaintext. #38

Description

@dgobhai

attempting to isolate the problem, I have disabled tracking

# config/environments/production.rb
Rails.application.configure do
  config.action_mailer.delivery_method = :sparkpost

# config/initializers/sparkpost_rails.rb
SparkPostRails.configure do |c|
  c.api_key       = ENV.fetch('SPARKPOST_API_KEY')
  c.sandbox       = false
  c.track_clicks  = false
  c.track_opens   = false
  c.transactional = false
end

Emails sent with our custom mailer are sending fine, however Devise generated emails: Forgot password, are sending as plaintext when they should be html.

I'm trying to figure out what devise is doing with type, still looking...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions