Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Buffering a rendered template


Go to End


1455 Views

Avatar
Fuzz10

Community Member, 791 Posts

28 January 2009 at 12:27am

I'd like to use a different mailer than the one already built in while still using the SS templating system. So basically , I'd like to be able to populate a mail-template with my data , render it , and store the rendered output in a variable (to send in the mail-body). I can't really seem to figure it out ...

Can anyone help ?

Thanks....