From 5e5d37c38f3def5507f25b573169578c80ec8740 Mon Sep 17 00:00:00 2001
From: Peter Jaszkowiak
Date: Thu, 4 Feb 2021 10:08:14 -0700
Subject: [PATCH] fix(#9252): pass site domain to nodemailer (#9254)
---
src/emailer.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/emailer.js b/src/emailer.js
index 5eb8c4c3b2..70332a9a55 100644
--- a/src/emailer.js
+++ b/src/emailer.js
@@ -118,6 +118,7 @@ Emailer.setupFallbackTransport = (config) => {
// Enable SMTP transport if enabled in ACP
if (parseInt(config['email:smtpTransport:enabled'], 10) === 1) {
const smtpOptions = {
+ name: getHostname(),
pool: config['email:smtpTransport:pool'],
};