DK5
DK5

Reputation: 302

Maximum number of recipient in Java Mail

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 stackoverflow 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.

Upvotes: 5

Views: 4088

Answers (1)

Jim Garrison
Jim Garrison

Reputation: 86764

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

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

Upvotes: 6

Related Questions