Skip to content

Commit

Permalink
feat: added option to override html for emails (#4894)
Browse files Browse the repository at this point in the history
  • Loading branch information
vichustephen authored Nov 30, 2023
1 parent 76cab07 commit 0dcb0c6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,7 @@ export const createMailData = (options: IEmailOptions, overrides: Record<string,
to,
from: overrides?.from || options.from,
text: overrides?.text,
html: overrides?.html || overrides?.text || options.html,
cc: overrides?.cc || [],
bcc: overrides?.bcc || [],
...ipPoolName,
Expand Down

0 comments on commit 0dcb0c6

Please sign in to comment.