We received an interesting Support case today from James Harris (LiveViewTech) where a large volume of emails processing was giving the following error message on every email after the first several dozen: “Too many login attempts, please try again later.” The failed emails when opened had the error: “Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.” The system administrators tried everything that they could think of, including the suggestion from the Acumatica Support tech’s Chat to consider that GMail had locked the account. (It wasn’t locked, however. In fact, this actually was the first thing that they checked, even before it was recommended by the Support tech.) They tried restarting the server, using an SMTP relay, exploring several proposed online solutions for this error message, etc. But, nothing worked.
Some additional background, before providing their solution: These emails with attached invoices come from an import scenario, and so are sent out all at once. There could be several thousand of them at a time. With some trial and error, they observed that 20 emails processed without any problems, but 200 emails would fail.
Realizing that there was a “funnel effect” occurring here, they decided to try increasing the TLS “Timeout” value from 1 minute to 10 minutes on the System Email Accounts screen, under the Server Port Numbers section. That did the trick! The several hundred remaining emails, in their words, “zipped through quicker than I could refresh the page.”