4

Limitations on the count for sending emails using JavaMail

  1. What is the maximum number of emails can be present in the to/cc/bcc list?
  2. What is the maximum number of emails that can be sent in a Session?

Does these numbers depend on the SMTP server configuration?

thiru_k
  • 847
  • 2
  • 12
  • 21

1 Answers1

5

All of those numbers depend on the server. JavaMail imposes no limits other than available memory.

Bill Shannon
  • 29,579
  • 6
  • 38
  • 40
  • 1
    Thanks Bill. Any idea what are those limits for Gmail SMTP server? – thiru_k Aug 22 '13 at 10:48
  • 2
    No, and most likely Google doesn't publish them so that they can use an algorithm that attempts to detect spammers. – Bill Shannon Aug 22 '13 at 22:26
  • I think there is a limitation please check this. https://support.google.com/mail/answer/22839?p=TooManyRecipientsError&visit_id=637708684177572931-2513818443&rd=1#zippy=%2Cyou-have-reached-a-limit-for-sending-mail – java dev Oct 26 '21 at 18:09