Has anyone gotten this working? I have the following in my development.rb: config.action_mailer.raise_delivery_errors = true config.action_mailer.server_settings = { :address => "mail.<mydomain>", :port => 25, :domain => "<mydomain>" # :user_name => "info", # :password => "<pass>", # :authentication => :login } Note that the username and password are commented out.. I''ve been trying them with various settings but I''m not sure what to use.. or if to use them at all. The wiki is not very clear. Thanks! --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Hi Gene, I experimented with this a good bit last night and finally got it working using localhost for the server address. More info here: http://www.db75.com/new_blog/?p=277 <http://www.db75.com/new_blog/?p=277> I hope this helps! Regards, Dennis ________________________________ From: rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org [mailto:rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org] On Behalf Of Gene Horodecki Sent: Tuesday, August 22, 2006 1:36 PM To: rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Subject: [Rails] ActiveMailer on Dreamhost Has anyone gotten this working? I have the following in my development.rb: config.action_mailer.raise_delivery_errors = true config.action_mailer.server_settings = { :address => "mail.<mydomain>", :port => 25, :domain => "<mydomain>" # :user_name => "info", # :password => "<pass>", # :authentication => :login } Note that the username and password are commented out.. I''ve been trying them with various settings but I''m not sure what to use.. or if to use them at all. The wiki is not very clear. Thanks! --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Here''s what works for me at Dreamhost: :address => ''mail.<mydomain>'', :port => 587, # super sneaky :user_name => ''<username>'', :password => ''<password>'', :domain => ''mail.<mydomain>'', :authentication => :login Note that you need an actual mail account with username <username> set up through the panel interface. On Aug 22, 2006, at 11:35 AM, Gene Horodecki wrote:> Has anyone gotten this working? I have the following in my > development.rb: > > config.action_mailer.raise_delivery_errors = true > config.action_mailer.server_settings = { > :address => "mail.<mydomain>", > :port => 25, > :domain => "<mydomain>" > # :user_name => "info", > # :password => "<pass>", > # :authentication => :login > } > > > Note that the username and password are commented out.. I''ve been > trying them with various settings but I''m not sure what to use.. or > if to use them at all. The wiki is not very clear. Thanks! > > >--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Geez, I''m completely sorry. I just realized you were asking about Dreamhost and not Bluehost :) Please ignore my previous post! -----Original Message----- From: rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org [mailto:rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org] On Behalf Of Zachary Holt Sent: Tuesday, August 22, 2006 2:15 PM To: rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Subject: [Rails] Re: ActiveMailer on Dreamhost Here''s what works for me at Dreamhost: :address => ''mail.<mydomain>'', :port => 587, # super sneaky :user_name => ''<username>'', :password => ''<password>'', :domain => ''mail.<mydomain>'', :authentication => :login Note that you need an actual mail account with username <username> set up through the panel interface. On Aug 22, 2006, at 11:35 AM, Gene Horodecki wrote:> Has anyone gotten this working? I have the following in my > development.rb: > > config.action_mailer.raise_delivery_errors = true > config.action_mailer.server_settings = { > :address => "mail.<mydomain>", > :port => 25, > :domain => "<mydomain>" > # :user_name => "info", > # :password => "<pass>", > # :authentication => :login > } > > > Note that the username and password are commented out.. I''ve been > trying them with various settings but I''m not sure what to use.. or > if to use them at all. The wiki is not very clear. Thanks! > > >--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Gene Horodecki wrote:> Has anyone gotten this working? I have the following in my > development.rb: > > config.action_mailer.raise_delivery_errors = true > config.action_mailer.server_settings = { > :address => "mail.<mydomain>", > :port => 25, > :domain => "<mydomain>" > # :user_name => "info", > # :password => "<pass>", > # :authentication => :login > } > > > Note that the username and password are commented out.. I''ve been trying > them with various settings but I''m not sure what to use.. or if to use > themMake a new mailbox and PW at your domain via the DH control panel. Then use something like this: ActionMailer::Base.server_settings = { :address => "mail.<yourdomain>", :port => 25, :domain => "<yourdomain>", :authentication => :plain, :user_name => ''m0000000'', :password => ''<password>'' } I found that the m<whatever> mailbox number worked more reliably than the user name. I also found that :plain worked more reliably than :login, though I was never able to find a reason why this would be the case. :login would work fine about 50% of the time, :plain worked 100%. Disclaimer: it''s been a couple of months, so things may have changed. However, the above setup still works reliably (when the load on my server isn''t *&$#* 56.06, which it is right now). --Al Evans -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---