Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
3
gru 19
16302
1
cze 25
1382
0
sie 23
1913
4
cze 18
9924
0
lut 25
1201