> Hi no one;
Hello Tim !
> 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
>
➜ dg_hobo git:(hobo) rails -v
Rails 3.2.12
➜ dg_hobo git:(hobo) ruby -v
ruby 1.9.2p320 (2012-04-20 revision 35421) [x86_64-darwin11.4.2]
➜ dg_hobo git:(hobo) hobo -v
Hobo Command Line Interface 2.0.0.pre10
> these are the settings I use to send mail via GMAIL:
>
I just moved thim Gem to my GemFile and it worked.
Rails::Initializer.run do |config|
config.gem "tlsmail"
end
> *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'
> }
>
Mine is,
*config/development.rb*
config.action_mailer.delivery_method = :smtp *<~ You used
ActionMailer::Base.delivery_method instead of the config, which is
recommended ?*
config.action_mailer.smtp_settings = {
:address => "smtp.gmail.com",
:port => "25",
:domain => "xxx",
:user_name => "xxx",
:password => "xxx",
:authentication => *:login <~ yours says :plain, that's the only diff
in the settings*
}
thanks for your reply!
speak soon
--
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.