コンテンツへスキップ
メニュー
この質問にフラグが付けられました

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

アバター
破棄
関連投稿 返信 ビュー 活動
3
12月 19
16306
1
6月 25
1388
0
8月 23
1916
4
6月 18
9927
0
2月 25
1201