[Radiant] Howto use a template for the mailer extension

Peter Berkenbosch peter.berkenbosch at gmail.com
Thu Nov 22 08:08:54 CST 2007


Found!

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

P.

On Nov 22, 2007 2:54 PM, Peter Berkenbosch <peter.berkenbosch at gmail.com>
wrote:

> Hello List,
>
> In the README of the mailer extensions is mentioned that you can add a
> page part email and/or email_html to use as a mail template.
>
> I've looked it up in the mailer code:
>
> plain_body = part( :email ) ? render_part( :email ) : render_part( :email_plain )
> html_body = render_part( :email_html ) || nil
>
> The mail form has something like:
> Naam:<br/>
> <r:mailer:text name="naam" /><br/>
> E-mail adres:<br />
> <r:mailer:text name="email" /> <br/>
>
> How can I use this in a template? (I feel like an idiot, but I don;t get
> it)
>
> Thanks.
>
> --
> met vriendelijke groet,
>
> Peter Berkenbosch




-- 
met vriendelijke groet,

Peter Berkenbosch



More information about the Radiant mailing list