mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-02 15:17:03 +02:00
Mark messages with failed DKIM, SPF or DMARC authentication
This commit is contained in:
@@ -455,6 +455,11 @@ public class MessageHelper {
|
||||
return (TextUtils.isEmpty(msgid) ? Long.toString(uid) : msgid);
|
||||
}
|
||||
|
||||
String getAuthentication() throws MessagingException {
|
||||
String header = imessage.getHeader("Authentication-Results", "");
|
||||
return (header == null ? null : header.replaceAll("\\r?\\n", ""));
|
||||
}
|
||||
|
||||
Address getSender() throws MessagingException {
|
||||
String sender = imessage.getHeader("Sender", null);
|
||||
if (sender == null)
|
||||
|
||||
Reference in New Issue
Block a user