mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-03 10:16:45 +00:00
Added iCloud recognition
This commit is contained in:
parent
78078e1acc
commit
672796cd6e
3 changed files with 14 additions and 0 deletions
|
@ -1732,6 +1732,10 @@ public class MessageHelper {
|
|||
if (!TextUtils.isEmpty(yahoo))
|
||||
return "yahoo";
|
||||
|
||||
String icloud = imessage.getHeader("X-Proofpoint-Spam-Details", null);
|
||||
if (!TextUtils.isEmpty(icloud)) // X-Mailer: iPhone Mail ...
|
||||
return "icloud";
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
9
app/src/main/res/drawable/infra_icloud.xml
Normal file
9
app/src/main/res/drawable/infra_icloud.xml
Normal file
|
@ -0,0 +1,9 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="511.938dp"
|
||||
android:height="511.938dp"
|
||||
android:viewportWidth="511.938"
|
||||
android:viewportHeight="511.938">
|
||||
<path
|
||||
android:pathData="M404.848,192.411c-5.442,-64.36 -62.028,-112.122 -126.387,-106.68c-34.642,2.929 -66.184,21.119 -86.071,49.634c-37.144,-17.913 -81.776,-2.323 -99.688,34.821c-3.961,8.214 -6.384,17.084 -7.149,26.171c-62.374,17.569 -98.696,82.376 -81.127,144.75c14.241,50.558 60.346,85.492 112.871,85.522h277.333c64.801,-0.014 117.322,-52.557 117.309,-117.358C511.925,248.449 465.437,197.721 404.848,192.411z"
|
||||
android:fillColor="#2196F3"/>
|
||||
</vector>
|
|
@ -1812,6 +1812,7 @@
|
|||
<string name="infra_awsses" translatable="false">Amazon SES</string>
|
||||
<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_mailchimp" translatable="false">Mailchimp</string>
|
||||
<string name="infra_mailgun" translatable="false">Mailgun</string>
|
||||
<string name="infra_mailjet" translatable="false">Mailjet</string>
|
||||
|
|
Loading…
Reference in a new issue