[Radiant] Any step by step configuration for Mailer Behaviour

Pete Burgess peteburgess at gmail.com
Tue Dec 5 09:56:38 CST 2006


What I have is one page named "Contact" with two parts. "Body" is the 
first part and "config" the second. I have the this in the "Body" part:

<r:mailer:form name="contact">
 <r:mailer:hidden name="subject" value="Email from my Radiant site!" />
<br/>
  Name:<br/>
 <r:mailer:text name="name" /> <br/>
  Message:<br/>
 <r:mailer:textarea name="message" /> <br/>
 <r:mailer:submit value="Send" />
</r:mailer:form>

and this in the "config" part:

mailers:
   contact:
     subject: Contact From Site
     from: noreply at example.com
     redirect_to: /contact/thanks
     recipients:
       - email at gmail.com

I have the "mailer" behaviour set to the Contact page.

I open the contact page in my browser and fill in the form and send it. 
It bounces me back to the Contact page (not the "Thanks" page) and I do 
not receive the email at the specified email address.

Thanks again for the help.

-- 
Posted via http://www.ruby-forum.com/.



More information about the Radiant mailing list