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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

Our old forums are still available as a read-only archive.

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

newsletter templates

Go to End

8 Posts   5900 Views


Community Member, 4 Posts

13 December 2007 at 12:26am


I created a newsletter template in /mysite/templates/email/

I created a new newsletter, selected this template, and put some content in the body,

But the sent email does not contain the html from the template.

What do I do wrong?



Community Member, 4 Posts

17 December 2007 at 9:55pm

come on guys, this should be easy...


Community Member, 501 Posts

18 December 2007 at 6:35am

First: have you flushed your page?

Secondly: I remember I had some issues too with that.

Some things I noticed:

- your Email directory should be with an uppercase 'E'.
- Try adding it to your themes/yourtheme/templates/Email/ folder too.

There is something weird going on with that (or something wrong with the docu), but it should work with my suggestions, at least it worked for me.


Community Member, 4 Posts

18 December 2007 at 9:04am

you were right, it's the uppercase 'E' that does it.
kinda stupid, but hey!


Community Member, 57 Posts

10 March 2008 at 12:56pm

Maarten - I am new to this. Can you please advise how to setup a newsletter template. I would like to use the same template as is being used for the site from the theme.

Do I just copy the template structure from the themes across into the "mysite" folder. which files do I need if I was to use an existing them template?

An example of how to setup the tempalte and implement it would be much appreciated.



Community Member, 3 Posts

15 August 2008 at 10:19am

Is there more info on this somewhere? Documentation on:
* where the newsletter templates go
* bare bones example of what is required in the template file.

Sorry if I've missed something obvious,


Community Member, 470 Posts

15 August 2008 at 12:02pm

As has been mentioned here, the templates go in /mysite/templates/email

Some info on how to set up in the doc -

The basic info would be the first/last name and the message itself though it's really up to you how you extend this.


Forum Moderator, 224 Posts

28 October 2008 at 5:26pm

I could not get the template the work.... I had exactly the same setup locally, where the templates were recognised but on the server, the CMS did not find the templates. Very strange! Perhaps it was a case sensitive issue.

I found that if I put the template into
/themes/mytheme/templates/Email/ it does not work
/mysite/templates/Email/ it does work