Send email using ruby on rails

Views:4425|Rating:3.97|View Time:8:Minutes|Likes:27|Dislikes:7Email configuration code: config.action_mailer.raise_delivery_errors = true config.action_mailer.default_url_options = { host: “localhost:3000” } config.action_mailer.delivery_method = :smtp config.action_mailer.smtp_settings = { address: “smtp.gmail.com”, port: 587, domain: “example.com”, authentication: “plain”, enable_starttls_auto: true, user_name: ENV[“GMAIL_USERNAME”], password: ENV[“GMAIL_PASSWORD”] }… Read More