Ruby on Rails:一个动作邮件程序smtp配置设置中的多个Smtp端口

时间:2013-12-04 08:05:55

标签: ruby-on-rails email actionmailer

有没有办法在一个smtp port配置中使用多个smtp,例如

config.action_mailer.smtp_settings = { 
:user_name            => "rdas",
:password             => "guru",
:domain               => "stainly.com",
:address              => "smtp.sendgrid.net",
:port                 => 587 && 1025,
:authentication       => :plain,
:enable_starttls_auto => true
}

0 个答案:

没有答案