Skip to content

Commit 75295fd

Browse files
committed
NPM updated. Move i18n and helmet to normal dependencies. Fix mailgun european servers.
1 parent bf622df commit 75295fd

File tree

3 files changed

+526
-692
lines changed

3 files changed

+526
-692
lines changed

app/middleware/emailer/sendEmail.js

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const sendEmail = async (data = {}, callback) => {
1313
api_key: process.env.EMAIL_SMTP_API_MAILGUN,
1414
domain: process.env.EMAIL_SMTP_DOMAIN_MAILGUN
1515
}
16+
// host: 'api.eu.mailgun.net' // THIS IS NEEDED WHEN USING EUROPEAN SERVERS
1617
}
1718
const transporter = nodemailer.createTransport(mg(auth))
1819
const mailOptions = {

0 commit comments

Comments
 (0)