Skip to content

Commit

Permalink
Well lessons learned there
Browse files Browse the repository at this point in the history
  • Loading branch information
palmertab committed Dec 19, 2024
1 parent e26490e commit 5d804e4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions api/helpers/mail.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const emailBlast = async (inputData) => {
host : config.MAIL_SERVER,
port : config.MAIL_PORT,
secure : config.MAIL_SECURE || false,
pool : true,
pool : false,
maxConnections : 400,
maxMessages : 'Infinity',
tls : {
Expand All @@ -51,9 +51,14 @@ export const emailBlast = async (inputData) => {
host : config.MAIL_SERVER,
port : config.MAIL_PORT,
secure : false,
pool : true,
pool : false, // you'd think this would make it faster but in testing it does not
maxConnections : config.MAIL_POOL || 128,
maxMessages : 'Infinity',
tls : {
secure : false,
ignoreTLS : true,
rejectUnauthorized : false,
},
});
}

Expand Down

0 comments on commit 5d804e4

Please sign in to comment.