Added PHPMailer recognition

This commit is contained in:
M66B
2021-11-10 20:15:54 +01:00
parent 582a5cb82a
commit a4afd84327
3 changed files with 29 additions and 0 deletions

View File

@@ -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;
}