Gmail-SMTP错误421 4.7.0 [英] Gmail - smtp error 421 4.7.0

查看:719
本文介绍了Gmail-SMTP错误421 4.7.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在使用gmail oAuth2nodemailer发送邮件并收到以下错误-

We are using gmail oAuth2 to send the mail from nodemailer and receiving below error -

{"code":"EENVELOPE","response":"421 4.7.0 Temporary System Problem.  
Try again later (WS). e189-v6sm98ioe.0 - 
gsmtp","responseCode":421,"command":"DATA"}

外面的测试团队错误地运行了自动化测试脚本并同时触发了许多邮件,据我了解,由于错误提示,这可能暂时阻止了邮件的发送.我很想知道这种阻塞将持续多久,以及可以采取什么措施来解决它.在这一点上,我们无法将邮件发送从gmail切换到其他东西.

Out testing team by mistake run the automation test script and triggered a lot of mails simultaneously, I understand that might have blocked the mail's temporarily as the error suggest. I am interested to know how long this blockage will continue and what can one do to resolve it. At this point it is not possible for us to switch mail sending from gmail to some thing else.

推荐答案

我遇到了相同的问题,因为在负载测试过程中,我试图抽出几封邮件,在一分钟内将近100封邮件.发送500封邮件后,Gmail开始以同样的错误拒绝连接.

I faced the same problem as I tried to pump several mails as part of load testing, nearly 100 mails in a minute. After sending 500 mails, Gmail started rejecting the connection with the same error.

在我引入了1秒的思考时间之后,情况变得正常了,将传出邮件限制为<每分钟50个.

The situation became normal after I introduced a think time of 1 second, limiting the outgoing mail at < 50 per min.

对于我来说,Gmail拒绝我的邮件仅持续3分钟.

For me, Gmail was rejecting my mails only for a duration of 3 minutes.

这篇关于Gmail-SMTP错误421 4.7.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆