mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-04 12:44:57 +03:00
8d290c4560
refs https://www.notion.so/ghost/Marketing-Milestone-email-campaigns-1d2c9dee3cfa4029863edb16092ad5c4?pvs=4 - Added email template for milestones with using a configuration file for different member milestone values, as we're sending different content for each one - Implement sending the email to users who have `milestone-notifications` enabled, currently still behind a flag Co-authored-by: Peter Zimon <peter.zimon@gmail.com>
14 lines
344 B
JavaScript
14 lines
344 B
JavaScript
module.exports = function (data) {
|
|
// Be careful when you indent the email, because whitespaces are visible in emails!
|
|
return `
|
|
Congratulations!
|
|
|
|
${data.subject}
|
|
|
|
---
|
|
|
|
Sent to ${data.toEmail} from ${data.siteDomain}.
|
|
If you would no longer like to receive these notifications you can adjust your settings at ${data.staffUrl}.
|
|
`;
|
|
};
|