Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added 'bulk-email' tag to bulk messages sent with mailgun
no issue - helps distinguish bulk vs transactional email when both are using the same mailgun account
- Loading branch information
1 parent
5fd2b7f
commit 90f61d1
Showing
1 changed file
with
1 addition
and
1 deletion.
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 |
---|---|---|
|
@@ -55,7 +55,7 @@ module.exports = { | |
|
||
if (bulkEmailConfig && bulkEmailConfig.mailgun && bulkEmailConfig.mailgun.tag) { | ||
Object.assign(messageData, { | ||
'o:tag': bulkEmailConfig.mailgun.tag | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
kevinansfield
Author
Contributor
|
||
'o:tag': [bulkEmailConfig.mailgun.tag, 'bulk-email'] | ||
}); | ||
} | ||
|
||
|
@kevinansfield Think it would be useful to always keep this tag on the emails that are being sent? Or was it intentional to assign it whenever there is some other tag configured already?