What errors do you get in the "simple nodemailer" case? The same one?

I seriously suspect your problem is in maxConnections and maxMessages. 
Reduce that to some small value like 5 each, or even less. From my sysadmin 
days, I remember some bigger, known domains even had these set to 1, so 
this is also per-domain configurable. These are the reasons services like 
mailgun do well - they gather a lot of specific knowledge about individual 
domains.

Zlatko


On Tuesday, August 7, 2018 at 6:35:22 PM UTC+2, sunshine o wrote:
>
> "Mail Command Failed: 421 #4.x.2. too many messages for this session"
> var smtpPool = require('nodemailer-smtp-pool')
>
 

> pooledTr =nodemailer.createTransport( smtpPool{ host: "", secure:false, 
> port: 25, maxConnections:25, maxMessaes:50, rateLimit:10...}).
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/1168f3e0-c4f2-4659-a698-d10f83936af9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to