Mozilla forwards from subdomains now

This commit is contained in:
M66B
2024-02-03 11:59:46 +01:00
parent c778a17ea8
commit 00b68e0b63
2 changed files with 5 additions and 3 deletions

View File

@@ -2691,7 +2691,7 @@ public class MessageHelper {
Address[] from = getAddressHeader("From");
if (from != null && from.length == 1) {
String email = ((InternetAddress) from[0]).getAddress();
if (email != null && email.endsWith("@mozmail.com"))
if (email != null && email.endsWith(".mozmail.com"))
sender = getAddressHeader("Resent-From");
}
}