delivery_method :smtp, {
:address => "smtp.sendcloud.net",
:port => 25,
:user_name => "api_user",
:password => "api_key",
:authentication => 'login'
}
如果不使用
:authentication = > ‘login’
而是
authentication = > ‘login’
则会报错
hostname does not match the server certificate