Hi Everyone I am learning RoR from a book and I am the part where I am using the Action Mailer. And I am about to configuer the e-mail so that I can recive and send from a form. But I am stuck on what to replace the following code with my own email config. This is what the book says: Add the following lines of code to the bottom of your environment.rb as well as replacing the placeholder values with your specific values: ActionMailer::Base.server_settings = { :address => "smtp.railssolutions.com", :port => 25, :domain => "railssolutions.com", :authentication => :login, :user_name => "username", :password => "password", } -- 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 -~----------~----~----~----~------~----~------~--~---
Em Quinta 26 Julho 2007 09:32, Dom Tek escreveu:> This is what the book says: > > Add the following lines of code to the bottom of your environment.rb as > well as > replacing the placeholder values with your specific values: > > ActionMailer::Base.server_settings = { > > :address => "smtp.railssolutions.com", > :port => 25, > :domain => "railssolutions.com", > :authentication => :login, > :user_name => "username", > :password => "password", > > }Do you must change :address, :port, :domain, :user_name and :password? HTH, -- Davi Vidal davividal-UiHwsRqXctc1RhZgQKG/ig@public.gmane.org davividal-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org -- "Religion, ideology, resources, land, spite, love or "just because"... No matter how pathetic the reason, it''s enough to start a war. " -------------------------------------------------------- Por favor não faça top-posting, coloque a sua resposta abaixo desta linha. Please don''t do top-posting, put your reply below the following line. --------------------------------------------------------
> > Do you must change :address, :port, :domain, :user_name and :password? > > HTH, >:address => "smtp.mail.yahoo.com", :port => 25, :domain => "yahoo.com", :authentication => :login, :user_name => "username", :password => "password", I replaced it with the follwing does it look ok ? -- 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 -~----------~----~----~----~------~----~------~--~---
On 26 Jul 2007, at 15:22, Dom Tek wrote:> :address => "smtp.mail.yahoo.com", > :port => 25, > :domain => "yahoo.com", > :authentication => :login, > :user_name => "username",replace "username" with "myaccount-/E1597aS9LQAvxtiuMwx3w@public.gmane.org"> :password => "password",replace "password" with your password for your yahoo account.> I replaced it with the follwing does it look ok ?As long as your e-mail account is on the yahoo servers, this should do. Best regards Peter De Berdt --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---