[GH-ISSUE #531] Soft and/or hard limit to number of recipients #392

Closed
opened 2026-02-25 21:34:55 +03:00 by kerem · 7 comments
Owner

Originally created by @marclaporte on GitHub (Nov 8, 2021).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/531

Every once in a while, I'll receive an email with 50+ recipients. And with more recipients, there is a good chance someone will reply to all.

It is usually an error.

Many clients and email services have limits. Ex.:

We should have warnings to help users.

Originally created by @marclaporte on GitHub (Nov 8, 2021). Original GitHub issue: https://github.com/cypht-org/cypht/issues/531 Every once in a while, I'll receive an email with 50+ recipients. And with more recipients, there is a good chance someone will reply to all. It is usually an error. Many clients and email services have limits. Ex.: - https://github.com/roundcube/roundcubemail/issues/5132 - https://docs.gandi.net/en/gandimail/limitations.html We should have warnings to help users.
kerem closed this issue 2026-02-25 21:34:55 +03:00
Author
Owner

@dumblob commented on GitHub (Nov 8, 2021):

We should have warnings to help users.

Yep, persistent (i.e. visible during the whole compose session - even if opened from a draft folder) warning. But please no hard limit.

<!-- gh-comment-id:963490541 --> @dumblob commented on GitHub (Nov 8, 2021): > We should have warnings to help users. Yep, persistent (i.e. visible during the whole compose session - even if opened from a draft folder) **warning**. But please no hard **limit**.
Author
Owner

@jasonmunro commented on GitHub (Jul 15, 2022):

@marclaporte to clarify, you want to have a warning if you reply-all to a message with > X recipients. That is not what the PR does so I just want to clarify before I comment on it. The PR uses JavaScript to trigger the warning on a keyup event, so it would only trigger if you are actually typing in the recipients. Also the way it is coded the message cannot be translated and it's possible it will miscount as recipient lines are notoriously hard to parse properly.

<!-- gh-comment-id:1185995394 --> @jasonmunro commented on GitHub (Jul 15, 2022): @marclaporte to clarify, you want to have a warning if you reply-all to a message with > X recipients. That is not what the PR does so I just want to clarify before I comment on it. The PR uses JavaScript to trigger the warning on a keyup event, so it would only trigger if you are actually typing in the recipients. Also the way it is coded the message cannot be translated and it's possible it will miscount as recipient lines are notoriously hard to parse properly.
Author
Owner

@marclaporte commented on GitHub (Jul 16, 2022):

You understood correctly. But basically it doesn't matter if it's typed in or reply to all, there should be a soft warning at one point.

<!-- gh-comment-id:1186038501 --> @marclaporte commented on GitHub (Jul 16, 2022): You understood correctly. But basically it doesn't matter if it's typed in or reply to all, there should be a soft warning at one point.
Author
Owner

@jasonmunro commented on GitHub (Jul 16, 2022):

I don't think a warning about typing in 20 recipients makes a lot of sense, but we can add that as well if you think it does. I posted some code to the PR that will warn if you load a draft or reply to a message that has > 20 recipients from the to + cc line. Often larger recipient lists are in the bcc field so I chose not to include that toward the warning

<!-- gh-comment-id:1186041601 --> @jasonmunro commented on GitHub (Jul 16, 2022): I don't think a warning about typing in 20 recipients makes a lot of sense, but we can add that as well if you think it does. I posted some code to the PR that will warn if you load a draft or reply to a message that has > 20 recipients from the to + cc line. Often larger recipient lists are in the bcc field so I chose not to include that toward the warning
Author
Owner

@marclaporte commented on GitHub (Jul 16, 2022):

Your proposal works for me :-)

<!-- gh-comment-id:1186192791 --> @marclaporte commented on GitHub (Jul 16, 2022): Your proposal works for me :-)
Author
Owner

@jasonmunro commented on GitHub (Jul 19, 2022):

committed so closing this.

<!-- gh-comment-id:1189361945 --> @jasonmunro commented on GitHub (Jul 19, 2022): committed so closing this.
Author
Owner

@marclaporte commented on GitHub (Dec 15, 2023):

For the record: github.com/cypht-org/cypht@293d1af576

<!-- gh-comment-id:1858408887 --> @marclaporte commented on GitHub (Dec 15, 2023): For the record: https://github.com/cypht-org/cypht/commit/293d1af576d7483145c87d75be65fbefbbc9450e
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cypht#392
No description provided.