Thanks for your comment. Yesterday I tried this subject and got a working config:
* gem install tlsmail * add "Net::SMTP.enable_tls(OpenSSL::SSL::VERIFY_NONE)" in the email part of god's config * just like your translation from old to new, however, the "d.server_auth" part should be ":login" I guess step 3 is not documented well by the author; but in fact that would be one argument to Net::SMTP On 9月9日, 下午7時10分, captainf <[email protected]> wrote: > Read the "email" part on the websitehttp://god.rubyforge.org > see that God::Contacts::Email.server_settings has been removed in the > recent release of god. > God::Contacts::Email.server_settings = { > :address => 'smtp.gmail.com', > :tls => 'true', > :port => 587, > :domain => 'domain.com', > :user_name => '[email protected]', > :password => '******', > :authentication => :plain > > } > > translates to > God::Contacts::Email.defaults do |d| > d.delivery_method = :smtp > d.server_host = 'smtp.gmail.com' > d.server_port = 587 > d.server_auth = true > d.server_domain = 'domain.com' > d.server_user = '[email protected]' > d.server_password = '******' > end -- You received this message because you are subscribed to the Google Groups "god.rb" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/god-rb?hl=en.
