I finally got it working. I just wanted to attach my solution to this thread in case anyone else encounters the same problems.
I ended up realizing that the problem had to do with the domain coming out of the heroku grid. I found that heroku has an addon called "sendgrid" which interacts nicely with ActionMailer. Following these instructions (http://docs.heroku.com/sendgrid) plus a little bit of settings wrangling and a server restart I got it working! Thanks Anton and Banane for all your help. The awesome community of people working with radiant is one of the main reasons I have chosen to use this CMS. Sorry about all the dead ends in this thread. Gabe Anton Aylward wrote: > Gabe Koss said the following on 04/15/2010 11:07 AM: > >> Thanks for all the help and patience! >> >> I am almost there. Now it seems to be sending the emails except they >> aren't going anywhere. I am succesfully connnecting to the gmail smtp >> but get a message stating: 504 5.7.4 Unrecognized Authentication Type. >> > > That, VERY SPECIFICALLY is why I use the :sendmail option ! > > I floundered with the authorization problem for nearly a week, inclduing > setting up new mail accounts at my hosting service! > > >> My auth type is set to :plain in environmen.rb. At the end of the >> action it claims to have sent my mail but I am still not receiving the >> "sent" mail nor am I being redirected... >> >> The text of my mailer part reads: >> >> subject: "Sent from your mailer form" >> from_field: email >> redirect_to: /about/contact/thanks >> recipients: >> - [email protected] >> - [email protected] >> > > That's nice but its not your problem. > Your problem is injecting your message into the host mail system. > That you are getting a 504 means you are using :smtp > > So, why is :sendmail a problem for you? > > Are you really addressing your local machine with this? > If the applciaiton and config/environment.rb are on MACHINE-A and the > reference you have in the mailer setup in > "ActionMailer::Base.smtp_settings" is MACHINE-B then this could cause > the problem. > > You might *THINK* you are addressing the same machine but does the > machines resolver think so? > > That is why using :sendmail is so much easier. > > Check that sendmail is at /usr/sbin/sendmail and try sending by cat'ing > a file with appropriate headers though it. > > ActionMailer::Base.delivery_method = :sendmail > ActionMailer::Base.perform_deliveries = true > > > If its not at /usr/sbin/sendmail you need to override the base settings, > which are > > ActionMailer::Base.sendmail_settings = { > :location => '/usr/sbin/sendmail', > :arguments => '-i -t' > } > > Try the command > which sendmail > to find it. > It may also be somewhere like /usr/lib/sendmail :-) > > > > _______________________________________________ Radiant mailing list Post: [email protected] Search: http://radiantcms.org/mailing-list/search/ List Site: http://lists.radiantcms.org/mailman/listinfo/radiant Radiant: http://radiantcms.org Extensions: http://ext.radiantcms.org
