【发布时间】:2016-07-02 02:21:13
【问题描述】:
我想问一下我错过了什么,为什么我的电子邮件被 Gmail 标记为未加密。我的项目使用 Hostmonster.com 无回复帐户发送电子邮件。
Rails smtp 设置:
config.action_mailer.default_url_options = { host: APP_CONFIG[:host], port: APP_CONFIG[:port], protocol: "https" }
config.action_mailer.perform_deliveries = true
config.action_mailer.delivery_method = :smtp
config.action_mailer.smtp_settings = {
:address => "host289.hostmonster.com",
:port => 465,
:domain => APP_CONFIG[:smtp][:domain],
:user_name => APP_CONFIG[:smtp][:user_name],
:password => APP_CONFIG[:smtp][:password],
:authentication => "plain",
:enable_starttls_auto => true,
:ssl => true
}
Hostmonster 面板: enter image description here
该项目已在 HTTPS 中。我不知道是我最终导致了 Gmail 未加密问题还是在 hostmonster 上。 enter image description here
【问题讨论】:
-
我就同样的问题与 HostMonster 通了电话。 @Borama 是对的,这是他们正在解决的问题。他们不会给出修复的 eta 并且没有支持票可遵循或任何东西,但他们向我保证他们会修复它......最终。 #fingerscrossed
标签: ruby-on-rails ruby-on-rails-3.2 smtp gmail actionmailer