mirror of https://github.com/M66B/FairEmail.git
Changed order of address matching
This commit is contained in:
parent
befb18dc23
commit
2274d4870e
4
FAQ.md
4
FAQ.md
|
@ -1078,8 +1078,8 @@ Note that this is independent of receiving messages.
|
|||
**(34) How are identities matched?**
|
||||
|
||||
Identities are as expected matched by account.
|
||||
For incoming messages the *to*, *cc*, *bcc*, *from* and *(X-)delivered/envelope/original-to* addresses will be checked
|
||||
and for outgoing messages (drafts, outbox and sent) the *from* addresses will be checked.
|
||||
For incoming messages the *to*, *cc*, *bcc*, *(X-)delivered/envelope/original-to* and *from* addresses will be checked (in this order)
|
||||
and for outgoing messages (drafts, outbox and sent) only the *from* addresses will be checked.
|
||||
|
||||
The matched address will be shown as *via* in the addresses section.
|
||||
|
||||
|
|
|
@ -2433,14 +2433,14 @@ class Core {
|
|||
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 (message.deliveredto != null)
|
||||
try {
|
||||
addresses.add(new InternetAddress(message.deliveredto));
|
||||
} catch (AddressException ex) {
|
||||
Log.w(ex);
|
||||
}
|
||||
if (message.from != null)
|
||||
addresses.addAll(Arrays.asList(message.from));
|
||||
}
|
||||
|
||||
// Search for matching identity
|
||||
|
|
Loading…
Reference in New Issue