Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty

Hey, thanks for taking the time!


I'm working on a project that involves sending out a lot of emails as notifications to the user. Currently, I have to duplicate e.g. header and footer for every new email which increases maintenance time.

I'm looking for a way to possibly have templates for at least header and footer that are stored once and just called into the email. My first approach is, to create new fields in the mail model, additionally to 'body_html' (like ''header_html') and concatenate them into 'body_html' before sending.

Any feedback or ideas would be hugely appreciated

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
3
jouluk. 19
16349
1
kesäk. 25
1438
0
elok. 23
1945
4
kesäk. 18
9976
0
helmik. 25
1253