Gavin wrote:
> Thanks for that Luke
> 
> I gave it a go with my host's smtp settings - no luck! I still get the
> Timeout::Error: execution expired
> 
> But when I tried with my gmail account settings it does work
> 
> I'm guessing the settings I've stated are wrong. Any ideas what they
> should be set to?
> 
> My host specifes:
> Incoming Mail Server: mail.thinkersplayground.com
> Incoming Mail Server: (SSL) server.600host.net
> Outgoing Mail Server: mail.thinkersplayground.com (server requires
> authentication) port 25
> Outgoing Mail Server: (SSL) server.600host.net (server requires
> authentication) port 465
> Supported Incoming Mail Protocols: POP3, POP3S (SSL/TLS), IMAP, IMAPS
> (SSL/TLS)
> Supported Outgoing Mail Protocols: SMTP, SMTPS (SSL/TLS)
> 
> Should I set the domain to localhost?
> 
> 
> 
> 
> On 22 Jan, 16:52, Luke Pearce <[email protected]>

Looks like you've got 2 lots of settings can you try the non-tls ones:

ActionMailer::Base.smtp_settings = {
  :address => "mail.thinkersplayground.com",
  :port => 25,
  :domain => "thinkersplayground.com",
  :authentication => :login,
  :user_name => "[email protected]",
  :password => "yourpassword"
}


-- 
Posted via http://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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to