📜  ruby on rails 发送激活邮件 - Ruby 代码示例

📅  最后修改于: 2022-03-11 15:04:45.850000             🧑  作者: Mango

代码示例1
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
  address:              'smtp.gmail.com',
  port:                 587,
  domain:               'example.com',
  user_name:            '',
  password:             '',
  authentication:       'plain',
  enable_starttls_auto: true }