mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-27 19:35:10 +01:00
Added PHPMailer recognition
This commit is contained in:
@@ -1716,6 +1716,10 @@ public class MessageHelper {
|
||||
if (!TextUtils.isEmpty(zeptomail))
|
||||
return "zeptomail";
|
||||
|
||||
String xmailer = imessage.getHeader("X-Mailer", null);
|
||||
if (!TextUtils.isEmpty(xmailer) && xmailer.contains("PHPMailer"))
|
||||
return "phpmailer";
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user