Added PayPal recognition

This commit is contained in:
M66B
2021-12-23 09:17:44 +01:00
parent 94a0f428cf
commit 429946977b
4 changed files with 34 additions and 1 deletions

View File

@@ -2010,6 +2010,10 @@ public class MessageHelper {
if (!TextUtils.isEmpty(icontact))
return "icontact";
String paypal = imessage.getHeader("X-Email-Type-Id", null);
if (!TextUtils.isEmpty(paypal))
return "paypal";
String xmailer = imessage.getHeader("X-Mailer", null);
if (!TextUtils.isEmpty(xmailer)) {
if (xmailer.contains("iPhone Mail"))