[Radiant] Mailer behaviour failing but not getting any feedback

orff proudestmonkey at gmail.com
Thu Oct 12 17:36:13 CDT 2006


you can try running another server in development mode.  The dev mode log is
alot better for debugging mail problems.  you can also use this site to try
out code changes as well, or for holding off on big site changes...

On 10/11/06, Nathan Donaldson <scarydog at mac.com> wrote:
>
> Hi all,
>
> I have the mailer behavior installed, but it is not working. Anyone have
> any idea what I am doing wrong?
>
> I have the following parts in my page:
>
> *Body*
> <r:mailer:form name="contact">
>     <r:mailer:hidden name="subject" value="Email from my Radiant site!"
> />
>     <r:mailer:text name="nameuu" />
>     <r:mailer:text name="emailuu" />
>     <r:mailer:textarea name="comments"></r:mailer:textarea>
>     <r:mailer:submit value="Send" />
>     <r:mailer:reset />
> </r:mailer:form>
>
> *config*
> mailers:
>   contact:
>     subject: From SonarHQ
>     from: info at sonarhq.com
>     redirect_to: /contact/thank-you
>     recipients:
>       - nathan at boost.co.nz
>
> *email*
> Name: <r:mailer:get name="nameuu" />
> Email:  <r:mailer:get name="email" />
> Comments:  <r:mailer:get name="comments" />
>
> I have added the following to environment.rb:
> ActionMailer::Base.server_settings = {
>   :address        => "mail.sonarhq.com",
>   :port           => 25,
>   :domain         => "sonarhq.com"
> }
>
> and have stopped actionmailer from being excluded in this file
>
> In my logs I get the following when I submit:
>
> Processing SiteController#show_page (for x.x.x.x at 2006-10-12 15:20:51)
> [POST]
>   Parameters: {"mailer"=>{"name"=>"test", "comments"=>"test",
> "email"=>"test"}, "action"=>"show_page", "url"=>["contact"],
> "mailer_name"=>"test_form", "controller"=>"site"}
> Completed in 0.03576 (27 reqs/sec) | DB: 0.00648 (18%) | 200 OK
> [http://dev.sonarhq.com/contact/]
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Radiant mailing list
> Post:   Radiant at lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.radiantcms.org/pipermail/radiant/attachments/20061012/0a187914/attachment.html


More information about the Radiant mailing list