Lift email recipient count limitations

Description

The current outbound email processing code limits the number of to, cc and bcc recipients so that the maximum length of each (when the recipients' addresses are concatenated and comma-delimited) cannot exceed 1000 characters. This limit is arbitrary and can be lifted.

Ref: common/remote/rmtsmtp.cpp, CMailInfo constructor

Conclusion

None

Activity

Show:

Dan Camper December 3, 2020 at 1:12 PM

Note for future readers:

There is a maximum number of recipients (to + cc + bcc) for outbound email, but it is determined by the receiving SMTP email server rather than the client. Further, that maximum recipient count is a configurable value, so it may be different for every server and there is no way to determine the maximum from a client connection other than simply trying to send them and checking to see if they are accepted. RCF 821 (SMTP) recommends 100 recipients but, in the real world, that limit is often different.

If a system needs to distribute email to more recipients than the SMTP server will handle, one workaround is to set up a mailing list and make the recipients members of that list. Then Std.System.Email.SendEmail* can be used to send to only one address (that of the mailing list).

Jacob Cobbett-Smith December 2, 2020 at 2:13 PM

- assigning to you for now.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Components

Assignee

Reporter

Priority

Fix versions

Pull Request URL

Created November 19, 2020 at 4:58 PM
Updated March 30, 2021 at 10:25 AM
Resolved December 3, 2020 at 2:06 PM