We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2354275 commit 0e36fb2Copy full SHA for 0e36fb2
index.js
@@ -262,7 +262,7 @@ exports.processMessage = function(data) {
262
263
// Replace original 'To' header with a manually defined one
264
if (data.config.toEmail) {
265
- header = header.replace(/^to:[\t ]?(.*)/mgi, () => 'To: ' + data.config.toEmail);
+ header = header.replace(/^to:[\t ]?(.*)/mgi, 'To: ' + data.config.toEmail);
266
}
267
268
// Remove the Return-Path header.
0 commit comments