has anybody actually gotten to send email working? i tried putting this in my environments.rb file, and the server will not start with it now. i can remove the code and it will, i am on vista home premium. i have ubuntu too, but this is a vista client, ruby 1.8.6 and rails 1.2.6. here is a sample of the code: ActionMailer::Base.delivery_method = :smtp ActionMailer::Base.smtp_settings = { :address => "smtp.client.com", :authentication => :login, :user_name => "secret", :password => "bigsecret" } i started all this from RESTFUL AUTHENTICATION, but having all kinds of trouble. anybody got something that more or less, does the same thing but just works mostly? thanks a bunch -- 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?hl=en -~----------~----~----~----~------~----~------~--~---
What is the server error you are getting? Here is my working config: ActionMailer::Base.smtp_settings = { :address => "mail.mydomain.com", :port => 25, :domain => "domain.com", :authentication => :login, :user_name => "user-3Q2Tfjf0mexWk0Htik3J/w@public.gmane.org", :password => "password" } ActionMailer::Base.delivery_method = :smtp ActionMailer::Base.perform_deliveries = true ActionMailer::Base.default_charset = "utf-8" ActionMailer::Base.default_content_type = "text/html" On Dec 6, 1:05 pm, "gemblon (t.b.)" <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> has anybody actually gotten to send email working? > > i tried putting this in my environments.rb file, > and the server will not start with it now. > i can remove the code and it will, > > i am on vista home premium. i have ubuntu too, > but this is a vista client, ruby 1.8.6 and rails 1.2.6. > > here is a sample of the code: > > ActionMailer::Base.delivery_method = :smtp > ActionMailer::Base.smtp_settings = { > :address => "smtp.client.com", > :authentication => :login, > :user_name => "secret", > :password => "bigsecret" > > } > > i started all this from RESTFUL AUTHENTICATION, but having > all kinds of trouble. anybody got something that more or less, > does the same thing but just works mostly? > > thanks a bunch > -- > 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-/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?hl=en -~----------~----~----~----~------~----~------~--~---
Matt White wrote:> What is the server error you are getting? Here is my working config: > > ActionMailer::Base.smtp_settings = { > :address => "mail.mydomain.com", > :port => 25, > .... > > On Dec 6, 1:05 pm, "gemblon (t.b.)" <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>that worked. i wonder what i did wrong. doh. thanks a bunch... -- 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?hl=en -~----------~----~----~----~------~----~------~--~---