Mailer extension causes problems

I’ve followed with tutorial from:

http://dev.radiantcms.org/radiant/wiki/HowToUseMailerExtension

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 :).

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:

Sean

What version of Radiant are you using? Sean just posted today that he
hasn’t updated Mailer to the new version yet.

Walter

Walter D. 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

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 Tue, 08 May 2007 12:59:27 -0500, Sean C. 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

Artur,

No, but I’ve considered adding it. As with other extensions, we’d
accept patches.

Sean