Java Mail中的最大收件人数

时间:2022-06-24 18:12:16

I am working on a project which involves sending emails using Java. We are using the JavaMailx Module( had to be imported). I would like to know that what is the maximum number of recipients to whom we can send our email ( Mime message consisting of message, subject , attachments ) in one go. What is the limit on the number of recipients who can be emailed together. I have searched for this online and on * and there are no clear answers. We are using the gmail smtp server to send emails from gmail accounts and yahoo smtp server to send mails from the yahoo accounts. Do the maximum number of recipients depend upon these smtp servers as well ? If so what is the default limits on them ? From personal experience i can tell that my academic email allows sending mails to multiple people in one go ( whole mailing lists consisting of 200-300 people). I am not sure about how it works in the back end, if they go in small groups of recipients or in total.

我正在开发一个涉及使用Java发送电子邮件的项目。我们正在使用JavaMailx模块(必须导入)。我想知道我们可以一次性向我们发送电子邮件的最大收件人数(Mime邮件,包括邮件,主题,附件)。可以通过电子邮件发送的收件人数量限制是多少。我已经在线搜索了这个和*,并没有明确的答案。我们正在使用gmail smtp服务器从gmail帐户和yahoo smtp服务器发送电子邮件,以便从yahoo帐户发送邮件。收件人的最大数量是否也依赖于这些smtp服务器?如果是这样,它们的默认限制是多少?根据个人经验,我可以说我的学术电子邮件允许一次性向多个人发送邮件(整个邮件列表包含200-300人)。我不确定它在后端是如何工作的,如果它们是小组接收者或总共。

1 个解决方案

#1


5  

No limits are specified in the API documentation, so the limits will be those inherent in the implementation (i.e. memory).

API文档中没有规定限制,因此限制将是实现中固有的限制(即内存)。

Also, it is likely the sending and/or receiving SMTP server limits will be reached before any limits imposed by the implementation.

此外,在实施所施加的任何限制之前,可能会达到发送和/或接收SMTP服务器限制。

#1


5  

No limits are specified in the API documentation, so the limits will be those inherent in the implementation (i.e. memory).

API文档中没有规定限制,因此限制将是实现中固有的限制(即内存)。

Also, it is likely the sending and/or receiving SMTP server limits will be reached before any limits imposed by the implementation.

此外,在实施所施加的任何限制之前,可能会达到发送和/或接收SMTP服务器限制。