Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
3
pro 19
16311
1
čvn 25
1389
0
srp 23
1923
4
čvn 18
9930
0
úno 25
1208