[Radiant] Any step by step configuration for Mailer Behaviour
John Aneston
anes_144 at yahoo.com
Tue Dec 5 10:02:10 CST 2006
Pete Burgess wrote:
> 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.
Hey pete,
the above body part and config part are really fine... may be you have
messed up something with environment.rb file check once again on that..
cheers
john aneston
--
Posted via http://www.ruby-forum.com/.
More information about the Radiant
mailing list