mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 21:58:52 +02:00
Refactoring
This commit is contained in:
@@ -5588,6 +5588,13 @@ public class MessageHelper {
|
||||
return false;
|
||||
}
|
||||
|
||||
static boolean isNoReply(@NonNull List<Address> addresses) {
|
||||
for (Address address : addresses)
|
||||
if (isNoReply(address))
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
static boolean isNoReply(Address address) {
|
||||
if (address instanceof InternetAddress) {
|
||||
String email = ((InternetAddress) address).getAddress();
|
||||
|
||||
Reference in New Issue
Block a user