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 <
capta...@dds.nl> 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 => '
u...@domain.com',
> :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 = '
u...@domain.com'
> d.server_password = '******'
> end