2

I want to use rackspace smtp with my rails app (redmine) but if I try to add it normally it doesn't work.

production:
  delivery_method: :smtp
  smtp_settings:
    enable_starttls_auto: true
    address: "secure.emailsrvr.com"
    port: '465'
    authentication: :plain
    user_name: "motbro@rubyonrails.org"
    password: "YDXOzZ"
4

1 回答 1

5

The problem was that I need to force the tls mode and use login type of authentication:

production:
  delivery_method: :smtp
  smtp_settings:
    tls: true
    address: "secure.emailsrvr.com"
    port: '465'
    authentication: :login
    user_name: "motbro@rubyonrails.org"
    password: "YDXOzZ"
于 2013-08-25T20:03:11.920 回答