Skip to content

Commit

Permalink
chore: added note to get transport helper
Browse files Browse the repository at this point in the history
  • Loading branch information
titanism committed Sep 6, 2023
1 parent 03ccbb6 commit cfe3392
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions helpers/get-transporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ async function getTransporter(connectionMap = new Map(), options = {}, err) {

const isPooling = typeof err === 'undefined' && truthSource;

// TODO: may need to pass custom `getSocket` option if `isPooling`

const transporter = nodemailer.createTransport({
...transporterConfig,
pool: isPooling,
Expand Down

0 comments on commit cfe3392

Please sign in to comment.