Answers for "send mail in ruby on rails command line"

3

ruby on rails send activate mail

config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
  address:              'smtp.gmail.com',
  port:                 587,
  domain:               'example.com',
  user_name:            '<username>',
  password:             '<password>',
  authentication:       'plain',
  enable_starttls_auto: true }
Posted by: Guest on December-23-2020

Browse Popular Code Answers by Language