有没有办法在一个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
}