Ruby on rails 梅勒没有';不要发电子邮件。轨道5。Hostgator邮件服务器

Ruby on rails 梅勒没有';不要发电子邮件。轨道5。Hostgator邮件服务器,ruby-on-rails,smtp,mailer,Ruby On Rails,Smtp,Mailer,以前有gmail smtp设置,并且发送了电子邮件,但我更改了hostgator设置上的smtp设置- > smtp_settings: > :address: gator3287.hostgator.com > :port: 465 > :domain: my_site.com > :user_name: noreply@my_site.com > :password: password > :authe

以前有gmail smtp设置,并且发送了电子邮件,但我更改了hostgator设置上的smtp设置-

> smtp_settings:
>     :address: gator3287.hostgator.com
>     :port: 465
>     :domain: my_site.com
>     :user_name: noreply@my_site.com
>     :password: password
>     :authentication: plain
>     :enable_starttls_auto: true   
> default:
>     :from: noreply@floorwatch.com
>     :to: noreply@floorwatch.com
这种设置有什么问题?
提前谢谢你

使用
:enable\u starttls\u auto:true
选项尝试此端口:

SMTP    25
SMTP Alternate  26
SMTP Alternate  587
SMTP - SSL  465

我刚刚添加了
:tls:true
,它很有效