I''m not sure what I''m doing wrong, but the email sends fine from my local computer. The test server log says that the email was sent, but it never arrives. I don''t get any errors (not in the log anyway). I''m using gmail as my smtp server per the following instructions. http://scottmotte.com/archives/297 Any ideas? Thanks ~sean --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Agustin Nicolas Viñao Laseras
2009-Jan-14 17:43 UTC
Re: User Activation Email won''t send on test server
This is my ActionMailer Setup in environment.rb require ''smtp_tls'' ActionMailer::Base.raise_delivery_errors = true ActionMailer::Base.perform_deliveries = true ActionMailer::Base.delivery_method = :smtp ActionMailer::Base.smtp_settings = { :address => "smtp.gmail.com", :port => "587", :domain => "mydomain.com", :authentication => :plain, :user_name => "mylogin-3Q2Tfjf0mexWk0Htik3J/w@public.gmane.org", :password => "mypassword" } note this setup: :domain => "mydomain.com", :user_name => "mylogin-3Q2Tfjf0mexWk0Htik3J/w@public.gmane.org", Whit that you identify your google app, in the tutorial say @gmail.com If you use your gmail acount, put this lines to fire the errors: ActionMailer::Base.raise_delivery_errors = true ActionMailer::Base.perform_deliveries = true ActionMailer::Base.delivery_method = :smtp and use the tutorial setup.- On Wed, Jan 14, 2009 at 3:36 PM, Sean Clark Hess <seanhess-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I''m not sure what I''m doing wrong, but the email sends fine from my > local computer. The test server log says that the email was sent, but > it never arrives. I don''t get any errors (not in the log anyway). > > I''m using gmail as my smtp server per the following instructions. > http://scottmotte.com/archives/297 > > Any ideas? > > Thanks > ~sean > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Sean Clark Hess
2009-Jan-14 18:17 UTC
Re: User Activation Email won''t send on test server
Sweet! Your setup worked. The three lines I was missing were the perform_deliveries, the delivery_method and the domain in the settings. Thanks! ~sean On Jan 14, 10:43 am, "Agustin Nicolas Viñao Laseras" <agustinvi...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> This is my ActionMailer Setup in environment.rb > > require ''smtp_tls'' > > ActionMailer::Base.raise_delivery_errors = true > ActionMailer::Base.perform_deliveries = true > ActionMailer::Base.delivery_method = :smtp > > ActionMailer::Base.smtp_settings = { > :address => "smtp.gmail.com", > :port => "587", > :domain => "mydomain.com", > :authentication => :plain, > :user_name => "mylo...-3Q2Tfjf0mexWk0Htik3J/w@public.gmane.org", > :password => "mypassword" > > } > > note this setup: > :domain => "mydomain.com", > :user_name => "mylo...-3Q2Tfjf0mexWk0Htik3J/w@public.gmane.org", > > Whit that you identify your google app, in the tutorial say @gmail.com > > If you use your gmail acount, put this lines to fire the errors: > ActionMailer::Base.raise_delivery_errors = true > ActionMailer::Base.perform_deliveries = true > ActionMailer::Base.delivery_method = :smtp > > and use the tutorial setup.- > On Wed, Jan 14, 2009 at 3:36 PM, Sean Clark Hess <seanh...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > I''m not sure what I''m doing wrong, but the email sends fine from my > > local computer. The test server log says that the email was sent, but > > it never arrives. I don''t get any errors (not in the log anyway). > > > I''m using gmail as my smtp server per the following instructions. > >http://scottmotte.com/archives/297 > > > Any ideas? > > > Thanks > > ~sean--~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---