Hey DM,
Back roughly a year ago you made me a bulk email mod called mailall.js (based off bulkmail.js, but with the ability of using javascript to send them account information, etc). I'm routing through my SMTP server via my ISP just fine, but it seems as though after it sends out some emails, it starts giving me errors of "421 Connection rate too high, try again later [R0203001]."
Is there a way to slow this process down so that it doesn't connect so
fast? Or is it just because of the _amount_ of connections? I believe it
was trying to send out about 230 emails in under a minute, and after about 100 it started giving me that error message. Maybe if there was a delay in between messages going out it would fix this? I guess it doesn't matter how long it takes to get done, as long as it works for every email.
is it just because of the _amount_ of connections? I believe it was trying to send out about 230 emails in under a minute, and after about 100 it started giving me that error message. Maybe if there was a delay in between messages going out it would fix this? I guess it doesn't matter how long it takes to get
done, as long as it works for every email.
What you want is to throttle the sendmail thread. This isn't really a JavaScript question, unless you want to queue up 100 e-mails at a time, wait for an hour or so, then another hundred. It'd probably easy to just add some kind of throttle support to the sendmail thread, which it currently doesn't have. I'll look into adding a configuration parameter.
Re: mailall.js
By: Digital Man to Access Denied on Sat Mar 08 2025 07:48 am
What you want is to throttle the sendmail thread. This isn't really a JavaScript question, unless you want to queue up 100 e-mails at a time, wait for an hour or so, then another hundred. It'd probably easy to just add some kind of throttle support to the sendmail thread, which it currently doesn't have. I'll look into adding a configuration parameter.
I didn't really know how my question would be answered, and since 8 ran
into the problem while running mailall.js I figured I'd post about it here. Other than that, your idea sounds great and I can't wait to see it implemented! :)
our isp will stop sending after around 20 emails, what you want to do is temporarily disable your forwarding through the email server and send it direct.
this means that it will sometimes go in their spam folder [or be denied]depending on their mail service.
throttling wont really help since RR will block you if you send out too many day.... unless you crank it down to a ridiculous level.
Sysop: | Clippy |
---|---|
Location: | Houston, TX |
Users: | 4 |
Nodes: | 4 (0 / 4) |
Uptime: | 72:47:37 |
Calls: | 1 |
Files: | 11 |
Messages: | 38,320 |