username/password are the credentials to your email account. # Example smtp gmail settings.
ActionMailer::Base.delivery_method = :smtp ActionMailer::Base.smtp_settings = { :address => "smtp.gmail.com", :port => 587, :authentication => :plain, :enable_starttls_auto => true, :user_name => "san...@gmail.com", :password => "sandip" } On Sat, Mar 13, 2010 at 12:53 AM, Aldric Giacomoni <li...@ruby-forum.com>wrote: > Manish Belsare wrote: > > ActionMailer::Base.server_settings = { > > :address => "smtp.tutorialspoint.com", > > :port => 25, > > :domain => "tutorialspoint.com", > > :authentication => :login, > > :user_name => "username", > > :password => "password", > > } > > > > > > Here in this code what shud be the value of "username" and "password" > > I don't know; how do you send email? What are your username and > password? You'll also want to change the address and domain to fit your > needs. If you don't know, ask your IT department, or your ISP, or your > webhost. > -- > 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-t...@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscr...@googlegroups.com<rubyonrails-talk%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- Sandip --- www.funonrails.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-t...@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.