Skip to content

Commit

Permalink
Set from adress in the mega service
Browse files Browse the repository at this point in the history
no-issue
  • Loading branch information
allouis committed Nov 8, 2019
1 parent cc39786 commit 2b285c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/server/services/mega/mega.js
Expand Up @@ -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);
Expand Down

0 comments on commit 2b285c5

Please sign in to comment.