如何停止aws ses邮件队列? [英] How to stop aws ses mail queue?

查看:89
本文介绍了如何停止aws ses邮件队列?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于我们应用程序中的错误,我们的一台测试服务器开始向AWS SES发送垃圾邮件.我们认为这些邮件已排入队列,因为邮件接收者每秒会收到约1-2封邮件,并且不会停止.

Due to a bug in our application, one of our testing servers started spamming mail orders to AWS SES. We believe that these mails have been put into a queue, as the mail receiver keeps getting around 1 - 2 mails per second, and is not stopping.

SES控制台不显示实时发送的邮件,因此我们仍在计算已将多少邮件发送到队列.

The SES console doesn't show real time sent mails, so we are still figuring out how many mails have been sent to the queue.

是否有一种方法可以阻止这种行为?我们将相同的SES用于生产应用程序,并且我们担心会耗尽要发送的邮件.如何取消队列"?

Is there a way to stop this behaviour? We use the same SES for the production application, and we fear we might runnout of mails to send. How can the "queue" be cancelled?

推荐答案

AWS具有内置的队列清除功能.
https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_PurgeQueue.html

AWS has a built-in queue purging function.
https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_PurgeQueue.html

https://sqs.us-east-2.amazonaws.com/123456789012/MyQueue/
?Action=PurgeQueue
&Expires=2020-12-12T22%3A52%3A43PST
&Version=2012-11-05
&AUTHPARAMS

这篇关于如何停止aws ses邮件队列?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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