Skip to content
This repository was archived by the owner on Nov 15, 2024. It is now read-only.

Commit d4d22f5

Browse files
committed
kill outbound email
1 parent 265e258 commit d4d22f5

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

api_server/modules/email/email.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ class Email extends APIServerModule {
202202

203203
// determine if special header was sent with the request that says to block emails
204204
requestSaysToBlockEmails (options) {
205+
return true; // as of the death of codemarks, we are blocking ALL outbound emails! ... NR-255016
205206
const headers = (
206207
options.request &&
207208
options.request.request &&

api_server/modules/posts/post_creator.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1003,6 +1003,7 @@ class PostCreator extends ModelCreator {
10031003

10041004
// send an email notification as needed to users who are offline
10051005
async triggerNotificationEmails () {
1006+
return; // as of the death of codemarks, we are blocking ALL outbound emails! ... NR-255016
10061007
if (this.requestSaysToBlockEmails()) {
10071008
// don't do email notifications for unit tests, unless asked
10081009
this.request.log('Would have triggered email notifications for stream ' + this.stream.id);

0 commit comments

Comments
 (0)