Re: [Radiant] New question: Gmail and action mailer

2009-03-22 Thread Shaolo
Finally! So apparently there is more than one mailer extension floating around. One works with the TLS code, the other does not. So basically I installed the mailer extension from here (the one that works). http://github.com/ntalbott/radiant-mailer-extension/tree/master Installed the TLS plugin

Re: [Radiant] New question: Gmail and action mailer

2009-03-22 Thread Doug Bryant
Anything in the initialiers directory should be automatically loaded. A very simple way to test if the files are loading is to put a line in the top of the smtp_tls.rb & smtp_config.rb files. Something like: puts "Loading Config" and "Loading TLS Extension..." If it prints out those two

Re: [Radiant] New question: Gmail and action mailer

2009-03-22 Thread Shaolo
Well, here are what my files look like: smtp_config.rb: ActionMailer::Base.delivery_method = :smtp ActionMailer::Base.raise_delivery_errors = true ActionMailer::Base.perform_deliveries = true ActionMailer::Base.smtp_settings = { :tls => true, :address => "smtp.gmail.com", :port => 587, :domain =>

Re: [Radiant] New question: Gmail and action mailer

2009-03-21 Thread Doug Bryant
Sorry - didn't realize the attachment would be stripped. The configuration is in a file named smtp_config.rb and the missing attached file which includes the additions to communicate with google smtp servers - http://gist.github.com/83024 - was put into smtp_tls.rb. I put both into config

Re: [Radiant] New question: Gmail and action mailer

2009-03-21 Thread Shaolo
I don't see any attachments.. What are you putting in the initializers directory? 2009/3/21 Doug Bryant > We have been using google apps for smtp email for almost a year now in > development/test/production environment. Never gives us a problem unless > gmail is down. > > Attached is the smtp

Re: [Radiant] New question: Gmail and action mailer

2009-03-21 Thread Dave Kroondyk
I also ran across this not too long ago - Have not tried it yet, but it looks very similar to Doug's solution: http://gist.github.com/72916 Dave 2009/3/21 Doug Bryant > We have been using google apps for smtp email for almost a year now in > development/test/production environment. Never give

Re: [Radiant] New question: Gmail and action mailer

2009-03-21 Thread Doug Bryant
We have been using google apps for smtp email for almost a year now in development/test/production environment. Never gives us a problem unless gmail is down. Attached is the smtp tls extenstion which is required to send with google apps. Below is our smtp_config.rb with the sensitive setting ch

[Radiant] New question: Gmail and action mailer

2009-03-21 Thread Shaolo
I've been struggling with this for many hours. Problem: I'm trying to get action mailer to use a google apps email address to send email to other google apps email addresses. The server the app is running on is not configured to send email to other machines. There is no debug output to speak of