0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-25 02:31:59 -05:00

Set from adress in the mega service

no-issue
This commit is contained in:
Fabien O'Carroll 2019-11-08 10:56:57 +07:00
parent cc39786958
commit 2b285c5fd3

View file

@ -10,6 +10,7 @@ const urlUtils = require('../../lib/url-utils');
const getEmailData = (post, members) => {
const emailTmpl = postEmailSerializer.serialize(post);
emailTmpl.from = membersService.config.getEmailFromAddress();
const membersToSendTo = members.filter((member) => {
return membersService.contentGating.checkPostAccess(post, member);