I've followed with tutorial from: http://dev.radiantcms.org/radiant/wiki/HowToUseMai... When I send the email error appeared: "Error encountered while trying to send email. 550-Verification failed for 550-Unrouteable address 550 Sender verify failed.". Someone had such a problems in the past? For help thanks a lot :).
on 2007-05-08 19:18
on 2007-05-08 20:00
Artur, You should try changing the transport method. It's possible that the address the form is being sent to is disallowed via sendmail or your SMTP server. You can change the transport method in config/environment.rb or config/production.rb (assuming you're running in production). This page has more information on configuring ActionMailer: http://api.rubyonrails.org/classes/ActionMailer/Base.html Sean
on 2007-05-08 20:04
What version of Radiant are you using? Sean just posted today that he hasn't updated Mailer to the new version yet. Walter
on 2007-05-08 20:28
Walter Davis wrote: > What version of Radiant are you using? Sean just posted today that he > hasn't updated Mailer to the new version yet. > > Walter Radiant CMS version 0.6.1
on 2007-05-08 21:21
On Tue, 08 May 2007 12:59:27 -0500, Sean Cribbs wrote: > You can change the transport method in config/environment.rb or > config/production.rb (assuming you're running in production). This page > has more information on configuring ActionMailer: Actually that doesn't seem to work due to the hack in mailer_page.rb. I've solved it by setting the ActionMailer::Base.delivery_method just before the deliver_generic_mailer is used. This seems to work fine (and I already had done the same thing for the 0.5.2 plugin. Kind regards, Hans
on 2007-05-08 22:30
Following Hans'es guides I've added to config/eniroment.rb file line: ActionMailer::Base.delivery_method = :sendmail Now emails are sending and everything is going fine. Thanks a lot! Another question: Is there possibility to check if some field in form is empty and the don't send form??
on 2007-05-08 22:40
Artur, No, but I've considered adding it. As with other extensions, we'd accept patches. Sean