Hi no one;

I'm not sure what version of Rails or Hobo you're using (or the state of 
the tutorial), but I have an app running on Rails 3.2.10/Hobo 2.0.0.pre8, 
and these are the settings I use to send mail via GMAIL:

*in config/smtp.rb:*

ActionMailer::Base.delivery_method = :smtp
ActionMailer::Base.smtp_settings = {
  :enable_starttls_auto => true,
  :address => "smtp.gmail.com",
  :port => 587,
  :authentication => :plain,
  :domain => 'smtp.gmail.com',
  :user_name => '[email protected]',
  :password => 'mypassword'
}

There are no specific gems added to my Gemfile to support SMTP mail via 
Gmail.

Perhaps that helps somewhat.
Tim


On Thursday, March 7, 2013 12:33:20 PM UTC-5, no one wrote:
>
> http://hobocentral.net/tutorials/43-using-gmail-for-sending-email
>
> perhaps this doesn't work on rails anymore
>
> Rails::Initializer.run do |config|
>     config.gem "tlsmail"
> end
>
> and this Net::SMTP.enable_tls(OpenSSL::SSL::VERIFY_NONE) is giving me :
>
> environment.rb:7:in `<top (required)>': undefined method `enable_tls' for 
> Net::SMTP:Class (NoMethodError)
>

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/hobousers?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to