문제

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"
도움이 되었습니까?

해결책

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"
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top