Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 12 19
15636
0
thg 3 25
634
0
thg 8 23
1389
4
thg 6 18
9339
0
thg 2 25
676