diff --git a/app/src/main/java/eu/faircode/email/MessageHelper.java b/app/src/main/java/eu/faircode/email/MessageHelper.java index 130fe4bcf3..3687da7246 100644 --- a/app/src/main/java/eu/faircode/email/MessageHelper.java +++ b/app/src/main/java/eu/faircode/email/MessageHelper.java @@ -1672,6 +1672,10 @@ public class MessageHelper { if (!TextUtils.isEmpty(sendgrid)) return "sendgrid"; + String mailgun = imessage.getHeader("X-Mailgun-Sid", null); + if (!TextUtils.isEmpty(mailgun)) + return "mailgun"; + return null; } diff --git a/app/src/main/res/drawable/infra_mailgun.xml b/app/src/main/res/drawable/infra_mailgun.xml new file mode 100644 index 0000000000..e284d4da41 --- /dev/null +++ b/app/src/main/res/drawable/infra_mailgun.xml @@ -0,0 +1,9 @@ + + +