Perhaps it is because I am using Ubuntu and not a mac? I don't have sendmail in /usr/sbin/ or /usr/lib/ and I don't think that it would work from heroku...
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
