-
Notifications
You must be signed in to change notification settings - Fork 11k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: dryrun option sending email to all queried users (#31571)
Co-authored-by: Hugo Costa <[email protected]>
- Loading branch information
1 parent
08df231
commit 2c0260d
Showing
3 changed files
with
32 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@rocket.chat/meteor": patch | ||
--- | ||
|
||
Fixed Mail dryrun sending email to all users |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ describe('Mailer', () => { | |
.post(api('mailer')) | ||
.set(credentials) | ||
.send({ | ||
from: 'test[email protected]', | ||
from: 'rocketchat.internal.admin.test@rocket.chat', | ||
subject: 'Test email subject', | ||
body: 'Test email body [unsubscribe]', | ||
dryrun: true, | ||
|