Do I need to do anything special to test the ActionMailer to make sure it emails? I''m developing locally on my macbook pro. I made a simple test method straight out of a book that I know works and I''m not getting any email. Do I need to turn on a service? Open a port? Thanks for your help. -- 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 -~----------~----~----~----~------~----~------~--~---
Ben Johnson wrote:> Do I need to do anything special to test the ActionMailer to make sure > it emails? I''m developing locally on my macbook pro. I made a simple > test method straight out of a book that I know works and I''m not getting > any email. Do I need to turn on a service? Open a port? > > Thanks for your help.Also this is weird. If I type the following commnd: mails -s test myemail-WB98PguNJMdBDgjK7y7TUQ@public.gmane.org This sends me email. Then I try to test if the ActionMailer works. If I wait a min, it stops working. I have to run that command for it to send email. Any idea why this is? -- 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 Thu, 2007-01-11 at 21:36 +0100, Ben Johnson wrote:> Ben Johnson wrote: > > Do I need to do anything special to test the ActionMailer to make sure > > it emails? I''m developing locally on my macbook pro. I made a simple > > test method straight out of a book that I know works and I''m not getting > > any email. Do I need to turn on a service? Open a port? > > > > Thanks for your help. > > Also this is weird. If I type the following commnd: > > mails -s test myemail-WB98PguNJMdBDgjK7y7TUQ@public.gmane.org > > This sends me email. Then I try to test if the ActionMailer works. If I > wait a min, it stops working. I have to run that command for it to send > email. Any idea why this is? >Ben, I don''t know if this is relevant, but somewhere in my ActionMailer searches, I remember someone mentioning that some servers are setup so that a smtp and pop3 connection were in some way linked. Meaning that smtp (outbound) would only occur in the timeframe vicinty of a pop3(inbound) connection. I think that I found in on the rails wiki, but I dont remember. and as I did a cursery check I found this (still dont know if it solves your problem though): http://wiki.rubyonrails.org/rails/pages/PopBeforeSMTPForActionMailer http://wiki.rubyonrails.com/rails/pages/HowToSendEmailsWithActionMailer Hope it helps Matt --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---