Added infrastructure iContact

This commit is contained in:
M66B 2021-11-17 17:54:06 +01:00
parent d2570a116b
commit 1900dffa16
4 changed files with 33 additions and 1 deletions

View File

@ -1748,6 +1748,10 @@ public class MessageHelper {
if (!TextUtils.isEmpty(zoho))
return "zoho";
String icontact = imessage.getHeader("X-SFMC-Stack", null);
if (!TextUtils.isEmpty(icontact))
return "icontact";
String xmailer = imessage.getHeader("X-Mailer", null);
if (!TextUtils.isEmpty(xmailer)) {
if (xmailer.contains("iPhone Mail"))

View File

@ -0,0 +1,18 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="300dp"
android:height="300dp"
android:viewportWidth="300"
android:viewportHeight="300">
<path
android:pathData="M158.4,227.9c-2.5,-0.3 -4.4,-0.4 -6.2,-0.7c-1.6,-0.3 -2.3,-1.3 -2,-3c2.5,-18.9 5,-37.7 7.5,-56.6c0.8,-6.4 1.7,-12.8 2.5,-19.3c0.2,-2 1.1,-3.4 3,-4c5.6,-1.8 11.3,-2.1 17.1,-1.3c2,0.3 2.9,1.4 2.6,3.6c-1.8,13.1 -3.5,26.3 -5.2,39.4c-1.6,12.1 -3.3,24.1 -4.8,36.2c-0.3,2.3 -1.4,3.6 -3.5,4C165.6,226.9 161.7,227.4 158.4,227.9"
android:fillColor="#113D66"/>
<path
android:pathData="M111.1,123.7c0.7,-19.2 10.7,-35.7 28.3,-47.8c1.5,-1 3.1,-2 4.7,-2.9c3.3,-1.7 6.9,-0.7 8.6,2.3c1.7,3 0.8,6.7 -2.4,8.6c-8.1,4.7 -14.9,10.7 -19.7,18.7c-8.5,14.4 -9.5,29 -1.3,43.9c2,3.5 1.1,7.2 -2.1,9c-3.2,1.8 -6.8,0.8 -8.8,-2.8C113.6,144.5 111.2,135.6 111.1,123.7"
android:fillColor="#113D66"/>
<path
android:pathData="M135.6,123.7c0.5,-11.6 7,-22.5 19.4,-29.9c2.6,-1.5 5.1,-0.9 6.4,1.3c1.3,2.3 0.6,4.7 -2,6.2c-10.5,6.4 -16,15.7 -14.8,28.1c0.4,3.9 2.3,7.7 3.7,11.5c0.7,1.8 1.1,3.6 -0.3,4.9c-1.1,1 -2.9,1.8 -4.2,1.6c-1.2,-0.2 -2.7,-1.5 -3.4,-2.7C137.1,139.3 135.6,133.1 135.6,123.7"
android:fillColor="#113D66"/>
<path
android:pathData="M172.6,137.8c-8.6,0.1 -11.2,-3 -9.9,-10.7c0.2,-1.2 0.5,-2.4 0.7,-3.6c1,-4.3 3.7,-7.2 8,-8c3.8,-0.7 7.8,-0.9 11.7,-0.7c3.9,0.2 5.8,2.6 5.8,6.4c0,2.2 -0.2,4.5 -0.6,6.6c-1.2,5.9 -4.2,8.5 -10.7,9.5C175.8,137.6 173.8,137.7 172.6,137.8"
android:fillColor="#113D66"/>
</vector>

View File

@ -906,7 +906,7 @@
android:layout_marginTop="12dp"
android:layout_marginEnd="48dp"
app:constraint_referenced_ids="
infra_awsses,infra_elastic,infra_gmail,infra_icloud,
infra_awsses,infra_elastic,infra_gmail,infra_icloud,infra_icontact,
infra_mailchimp,infra_mailgun,infra_mailjet,infra_mandrill,
infra_netcore,infra_outlook,infra_phpmailer,infra_postmark,
infra_salesforce,infra_sendgrid,infra_sendinblue,infra_sparkpost,
@ -956,6 +956,15 @@
app:srcCompat="@drawable/infra_icloud"
tools:ignore="MissingConstraints" />
<ImageView
android:id="@+id/infra_icontact"
android:layout_width="24dp"
android:layout_height="24dp"
android:contentDescription="@string/infra_icontact"
android:tooltipText="@string/infra_icontact"
app:srcCompat="@drawable/infra_icontact"
tools:ignore="MissingConstraints" />
<ImageView
android:id="@+id/infra_mailchimp"
android:layout_width="24dp"

View File

@ -1813,6 +1813,7 @@
<string name="infra_elastic" translatable="false">Elastic Email</string>
<string name="infra_gmail" translatable="false">Gmail/Gsuite</string>
<string name="infra_icloud" translatable="false">Apple/iCloud</string>
<string name="infra_icontact" translatable="false">iContact</string>
<string name="infra_mailchimp" translatable="false">Mailchimp</string>
<string name="infra_mailgun" translatable="false">Mailgun</string>
<string name="infra_mailjet" translatable="false">Mailjet</string>