cypht icon indicating copy to clipboard operation
cypht copied to clipboard

🌟 [EPIC] Comprehensive review of to/cc/bcc when reply/reply-to-all/forward in all possible contexts

Open marclaporte opened this issue 11 months ago • 9 comments

Sometimes, I click forward or reply to all and the list of emails in to or cc is not what I expected.

Related:

  • https://github.com/cypht-org/cypht/issues/384#issuecomment-1182483833
  • https://github.com/cypht-org/cypht/pull/608
  • https://github.com/cypht-org/cypht/issues/706 Does anyone know of a comprehensive list of how it should be done? Maybe @nekohayo or @dumblob ?

We could then write tests and code it.

Thanks!

marclaporte avatar Jan 10 '25 01:01 marclaporte

An example of an issue:

I have an email [email protected] which is delivered/forwarded to account [email protected] ([email protected] is not a real mail account and thus, can't send emails)

Say I receive a message:

From: [email protected] To: [email protected] reply-to: [email protected]

A cypht reply replies to [email protected] (This is OK)

A cypht "reply to all" generates: to: [email protected], [email protected] cc: [email protected] from: [email protected]

Problems: 1- I am replying to [email protected] and [email protected] but the email sender specifically asked to use the "reply to" ([email protected]) 2- I am CCing [email protected] which is myself, so will be redirected to [email protected]

marclaporte avatar Jan 24 '25 01:01 marclaporte

@nekohayo @dumblob

@IrAlfred identified over 20 permutations: https://github.com/cypht-org/cypht/wiki/Comprehensive-review-of-to-cc-bcc-when-reply-reply%E2%80%90to%E2%80%90all-forward-in-all-possible-contexts

marclaporte avatar Apr 18 '25 08:04 marclaporte

@IrAlfred

I love what you did at https://github.com/cypht-org/cypht/wiki/Comprehensive-review-of-to-cc-bcc-when-reply-reply%E2%80%90to%E2%80%90all-forward-in-all-possible-contexts

Can you imagine a way to add tests so we can be sure bugs don't come back after we fix them all?

marclaporte avatar Jun 03 '25 18:06 marclaporte

@IrAlfred I received an email today and there was no "to". So I was in BCC along with many others.

marclaporte avatar Jul 01 '25 16:07 marclaporte

@IrAlfred I received an email today and there was no "to". So I was in BCC along with many others.

Yes, that seems to be the current setup.

IrAlfred avatar Jul 02 '25 13:07 IrAlfred

On Cypht standalone master branch I'm seeing this in the email headers

To	undisclosed-recipients:;

when all the recipients are in BCC

IrAlfred avatar Jul 02 '25 13:07 IrAlfred

Great. So please add that in the scenario list so we can cover in testing,

marclaporte avatar Jul 02 '25 14:07 marclaporte

71 permutations so far. wow! https://github.com/cypht-org/cypht/wiki/Comprehensive-review-of-to-cc-bcc-when-reply-reply%E2%80%90to%E2%80%90all-forward-in-all-possible-contexts

marclaporte avatar Aug 27 '25 10:08 marclaporte

Related: https://github.com/nextcloud/mail/issues/11772

marclaporte avatar Oct 03 '25 10:10 marclaporte