Sendgrid Ruby On Rails

[Solved] Sendgrid Ruby On Rails | Ruby - Code Explorer | yomemimo.com
Question : rails sendgrid setup

Answered by : nguyen-quang-huy

ActionMailer::Base.smtp_settings = { :user_name => 'apikey', # This is the string literal 'apikey', NOT the ID of your API key :password => '<SENDGRID_API_KEY>', # This is the secret sendgrid API key which was issued during API key creation :domain => 'yourdomain.com', :address => 'smtp.sendgrid.net', :port => 587, :authentication => :plain, :enable_starttls_auto => true
}

Source : | Last Update : Fri, 28 Jan 22

Answers related to sendgrid ruby on rails

Code Explorer Popular Question For Ruby