i just tried to configure to use gmail with the tlsmail gem. i seem to
be getting the same time out error. is there something wrong in my
config. i have tried configuring it to several different inclugin
sendmail and postifx on my laptop, i installed mailtrap plugin, and
now gmail and all give me the same error. really strange....


config for gmail:


require 'tlsmail'

Net::SMTP.enable_tls(OpenSSL::SSL::VERIFY_NONE)



ActionMailer::Base.raise_delivery_errors = true

ActionMailer::Base.perform_deliveries = true

ActionMailer::Base.delivery_method = :smtp

ActionMailer::Base.smtp_settings = {

    :address => 'smtp.gmail.com',

    :port => 587,

    :tls => true,

    :domain => 'xxxx.com',

    :authentication => :plain,

    :user_name => 'xxxx',

    :password => 'xxxx'

  }

On Apr 17, 9:19 am, Marnen Laibow-Koser <rails-mailing-l...@andreas-
s.net> wrote:
> tashfeen.ekram wrote:
> > Do I need to uninstall sendmail before trying to use postfix? (sorry
> > not exactly a rails question)
>
> If setting up an SMTP server on your laptop is too much trouble, you
> could always point Rails to your ISP's SMTP server.  This is what I
> generally do, at least for development.
>
> Best,
> --
> Marnen Laibow-Koserhttp://www.marnen.org
> mar...@marnen.org
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to