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" -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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 => "sandip-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org", :password => "sandip" } On Sat, Mar 13, 2010 at 12:53 AM, Aldric Giacomoni <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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. Sir for your above mentioned thing well is it necessary to know the domain and address from my ISP?? i cant send an email from my application without this.. Also i would like to mention that the email information is displayed in the web server but it is not routed to the mentioned email address..so wat should i do? -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Hi Manish, Is email sending log is getting created inside log file ? Is tutorialspoint.com <http://smtp.tutorialspoint.com> is your domain ? If yes, then where smtp setup has been done ? Why don''t you send emails using gmail account ? Thanks, On Wed, Mar 17, 2010 at 8:56 PM, Manish Belsare <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>wrote:> 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. > > > > Sir for your above mentioned thing well is it necessary to know the > domain and address from my ISP?? > i cant send an email from my application without this.. > Also i would like to mention that the email information is displayed in > the web server but it is not routed to the mentioned email address..so > wat should i do? > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
> Why don''t you send emails using gmail account ? >Sir, I would surely like to know what i have to make changes in the environment.rb file.. My email information is available in the development.log file.. Sir my environment.rb file has foll contents: ActionMailer::Base.delivery_method = :smtp ActionMailer::Base.smtp_settings = { :address => "smtp.gmail.com" , :port => 25, :domain => "gmail.com" , :authentication => :login, :enable_starttls_auto => true, :user_name => "mukesh" , :password => "123456" } Here user name is user name created by the user and not email id.. so what schanges chould i make to this file? -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Just remove domain from smtp settings and it should work fine Instead we are passing it through username. ActionMailer::Base.delivery_method = :smtp ActionMailer::Base.smtp_settings = { :address => "smtp.gmail.com", :port => 587, :authentication => :plain, :enable_starttls_auto => true, :user_name => "mukesh-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org", :password => "123456" } Let me know if still problem! On Thu, Mar 18, 2010 at 2:37 PM, Manish Belsare <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>wrote:> > > Why don''t you send emails using gmail account ? > > > > > Sir, > I would surely like to know what i have to make changes in the > environment.rb file.. > My email information is available in the development.log file.. > > Sir my environment.rb file has foll contents: > > ActionMailer::Base.delivery_method = :smtp > > ActionMailer::Base.smtp_settings = { > :address => "smtp.gmail.com" , > :port => 25, > :domain => "gmail.com" , > :authentication => :login, > :enable_starttls_auto => true, > :user_name => "mukesh" , > :password => "123456" > } > > Here user name is user name created by the user and not email id.. > so what schanges chould i make to this file? > > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.