Forwarders: match identity

This commit is contained in:
M66B 2024-04-13 08:11:18 +02:00
parent bc76f5b391
commit 43d6821520
1 changed files with 4 additions and 2 deletions

View File

@ -5204,14 +5204,16 @@ class Core {
if (message.from != null)
addresses.addAll(Arrays.asList(message.from));
} else {
Address[] senders = (message.isForwarder() ? message.submitter : message.from);
if (message.to != null)
addresses.addAll(Arrays.asList(message.to));
if (message.cc != null)
addresses.addAll(Arrays.asList(message.cc));
if (message.bcc != null)
addresses.addAll(Arrays.asList(message.bcc));
if (message.from != null)
addresses.addAll(Arrays.asList(message.from));
if (senders != null)
addresses.addAll(Arrays.asList(senders));
}
InternetAddress deliveredto = null;