Recognize infra not client

This commit is contained in:
M66B 2021-12-23 12:10:19 +01:00
parent f12c02df19
commit 2db90c3c31
2 changed files with 8 additions and 7 deletions

View File

@ -2002,9 +2002,9 @@ public class MessageHelper {
if (!TextUtils.isEmpty(icloud))
return "icloud";
String zoho = imessage.getHeader("X-ZohoMailClient", null);
if (!TextUtils.isEmpty(zoho))
return "zoho";
//String zoho = imessage.getHeader("X-ZohoMailClient", null);
//if (!TextUtils.isEmpty(zoho))
// return "zoho";
String icontact = imessage.getHeader("X-SFMC-Stack", null);
if (!TextUtils.isEmpty(icontact))
@ -2016,12 +2016,12 @@ public class MessageHelper {
String xmailer = imessage.getHeader("X-Mailer", null);
if (!TextUtils.isEmpty(xmailer)) {
if (xmailer.contains("iPhone Mail"))
return "icloud";
//if (xmailer.contains("iPhone Mail"))
// return "icloud";
if (xmailer.contains("PHPMailer"))
return "phpmailer";
if (xmailer.contains("Zoho Mail"))
return "zoho";
//if (xmailer.contains("Zoho Mail"))
// return "zoho";
}
String return_path = imessage.getHeader("Return-Path", null);

View File

@ -1129,6 +1129,7 @@
android:layout_height="24dp"
android:contentDescription="@string/infra_zoho"
android:tooltipText="@string/infra_zoho"
android:visibility="gone"
app:srcCompat="@drawable/infra_zoho"
tools:ignore="MissingConstraints" />