issues@javamail.java.net

[Bug 4355] New: Management of the recipients list. (rfc: 5321, section: 4.5.3)

From: <bugzilla-daemon_at_kenai.com>
Date: Tue, 21 Jun 2011 07:56:53 +0000 (GMT)

http://kenai.com/bugzilla/show_bug.cgi?id=4355

           Summary: Management of the recipients list. (rfc: 5321,
                    section: 4.5.3)
           Product: javamail
           Version: 1.4.4
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: smtp
        AssignedTo: shannon_at_kenai.com
        ReportedBy: robin73_at_kenai.com
                CC: issues_at_javamail.kenai.com


Hi.
I used the package to deliver mails to a large number of destinations and I
received the following error:

javax.mail.SendFailedException: Invalid Addresses;
  nested exception is:
    com.sun.mail.smtp.SMTPAddressFailedException: 452 #4.5.3 Too many
recipients.

Details: first I instanced a MimeMessage object with the list of recipients,
then I use the Trasport class to send it.

The rfc 5321, limit the number to 100 recipients and each path (forward or
reply) not longer than 256 bytes, and I used only 82 recipients...

I believe that this is a server SMTP error, but I was asking whether it can be
implemented a better management of the Trasport class, so to junk the list in
two or more parts, and send automatically emails, without errors.

Thanks

R. AGOSTINO

-- 
Configure bugmail: http://kenai.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.