From dccfc95c3f12ad171a849d343542a274c22f7b77 Mon Sep 17 00:00:00 2001 From: Andrea Draghetti Date: Tue, 26 Nov 2024 23:49:51 +0100 Subject: [PATCH] Version 1.4 released (DKIM, X-Mailer, Enhanced URL Detection, etc) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added - DKIM Verification: Implemented DKIM validation to check the authenticity of email senders. - X-Mailer Extraction: Added support for extracting the X-Mailer header, providing insight into the email client or service used. - Email Real Sender Extraction: Replaced regex-based logic with email.utils.parseaddr() for accurate extraction of real email addresses. - Enhanced URL Detection: Improved regex for more robust URL identification. - Use Cases in Documentation: Introduced a detailed “Use Cases” section in the README to explain practical applications. Improved - Header Normalization: Preserved multi-line header continuation as per RFC 5322 standards. - Refactored codebase for better readability and maintainability. - Updated the real_email function for more robust handling of sender fields. - Enhanced compatibility with modern Python versions (3.7+). - Optimized email parsing logic for better performance. --- requirements.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/requirements.txt b/requirements.txt index 58ead4a..28227fc 100755 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ -tldextract py3dns pyspf -beautifulsoup4 -dkimpy \ No newline at end of file +dkimpy +tldextract +beautifulsoup4 \ No newline at end of file