mirror of https://github.com/M66B/FairEmail.git
Added BCC as recipient for filter rules
This commit is contained in:
parent
874c0035e4
commit
aaf0814fea
4
FAQ.md
4
FAQ.md
|
@ -2561,8 +2561,8 @@ Since version 1.2018 there is a rule option to run rules daily on messages older
|
|||
|
||||
The following rule conditions are available:
|
||||
|
||||
* Sender contains or sender is contact
|
||||
* Recipient contains
|
||||
* Sender (from, reply-to) contains or sender is contact
|
||||
* Recipient (to, cc, bcc) contains
|
||||
* Subject contains
|
||||
* Has attachments (optional of specific type)
|
||||
* Header contains
|
||||
|
|
|
@ -234,6 +234,8 @@ public class EntityRule {
|
|||
recipients.addAll(Arrays.asList(message.to));
|
||||
if (message.cc != null)
|
||||
recipients.addAll(Arrays.asList(message.cc));
|
||||
if (message.bcc != null)
|
||||
recipients.addAll(Arrays.asList(message.bcc));
|
||||
for (Address recipient : recipients) {
|
||||
InternetAddress ia = (InternetAddress) recipient;
|
||||
String personal = ia.getPersonal();
|
||||
|
|
Loading…
Reference in New Issue