Hi, has anyone succeeded to test sending emails from RoR app using Yahoo or Google SMTP server? I have accounts with those. I am currently adding email support but I can''t get mails sent. Well I can send them if I use my work''s SMPT but I don''t want to use that. This I use: # Email settings ActionMailer::Base.delivery_method = :smtp ActionMailer::Base.smtp_settings = { :address => "smtp.yahoo.com", :port => 25, :authentication => :login, :user_name => "my username", :password => "my password" } In config file I have: config.action_mailer.raise_delivery_errors = true config.active_record.observers = :user_observer (for some automatic features) ---- Btw what is config.action_mailer.raise_delivery_errors = true actually doing? I can''t see any errors in the logs, how can I use this? Thanks. -- 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 -~----------~----~----~----~------~----~------~--~---
Rails Terrorist
2008-May-19 10:15 UTC
Re: Yahoo or Google SMTP servers to send email from RoR?
http://teapoci.blogspot.com/2008/04/action-mailer-with-gmail-or-another.html Good Luck Reinhart -- 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 Mon, 19 May 2008, comopasta Gr wrote:> I am currently adding email support but I can''t get mails sent. Well I > can send them if I use my work''s SMPT but I don''t want to use that.Why not? Spooling to a local MTA is generally more reliable than using straight SMTP because if the SMTP server is unreachable and/or down, your MTA will just re-queue and try again later (in most cases, retrying for up to 5 days). -- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
comopasta Gr
2008-May-19 20:13 UTC
Re: Yahoo or Google SMTP servers to send email from RoR?
Thanks! -- 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 -~----------~----~----~----~------~----~------~--~---
comopasta Gr
2008-May-20 07:09 UTC
Re: Yahoo or Google SMTP servers to send email from RoR?
Eno wrote:> Why not? Spooling to a local MTA is generally more reliable than using > straight SMTP because if the SMTP server is unreachable and/or down, > your > MTA will just re-queue and try again later (in most cases, retrying for > up > to 5 days).Hi, I guess Yahoo and Google use HELO, tls, etc as Reinhart''s suggestion indicates (I didn''t have time to try it yet). I''m currently developing on XP and later on that goes to a shared server, maybe I can''t use MTA there but I think SMTP should be ok there. Cheers -- 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 -~----------~----~----~----~------~----~------~--~---