我正在使用 rails 3.2.11 并使用蓝色主机作为我的电子邮件服务器来发送电子邮件。
以下是我在 development.rb 中的配置信息
config.action_mailer.smtp_settings = {
:address => "box75112.bluehost.com",
:port => "465",
:domain => "bluehost.com",
:enable_starttls_auto => true,
:authentication => :login,
:user_name => "support@buddy.io",
:password => "93utitrpppJvZ,[#4rl4"
}
这些是我的蓝色主机信息
Mail Server Username: support+buddy.io
Incoming Mail Server: mail.buddy.io
Incoming Mail Server: (SSL) box75112.bluehost.com
Outgoing Mail Server: mail.buddy.io (server requires authentication) port 26
Outgoing Mail Server: (SSL) box75112.bluehost.com (server requires authentication) port 465
Supported Incoming Mail Protocols: POP3, POP3S (SSL/TLS), IMAP, IMAPS (SSL/TLS)
Supported Outgoing Mail Protocols: SMTP, SMTPS (SSL/TLS)
但电子邮件没有发出,也没有错误
有人可以帮忙吗?
谢谢