[pim/kdepim-addons] kmail/editorsendcheckplugins/checkbeforesend/sendattachments: lower case email as for other job

Laurent Montel <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit be179ede7afa91dbf0ae22416179fbb02c7194f2 by Laurent Montel.
Committed on 15/08/2026 at 08:10.
Pushed by mlaurent into branch 'master'.

lower case email as for other job

M  +1    -0    kmail/editorsendcheckplugins/checkbeforesend/sendattachments/checkattachmentjob.cpp

https://invent.kde.org/pim/kdepim-addons/-/commit/be179ede7afa91dbf0ae22416179fbb02c7194f2

diff --git a/kmail/editorsendcheckplugins/checkbeforesend/sendattachments/checkattachmentjob.cpp b/kmail/editorsendcheckplugins/checkbeforesend/sendattachments/checkattachmentjob.cpp
index 8355febb5..52eead14b 100644
--- a/kmail/editorsendcheckplugins/checkbeforesend/sendattachments/checkattachmentjob.cpp
+++ b/kmail/editorsendcheckplugins/checkbeforesend/sendattachments/checkattachmentjob.cpp
@@ -21,6 +21,7 @@ void CheckAttachmentJob::start()
         QString tname;
         QString temail;
         KEmailAddress::extractEmailAddressAndName(email, temail, tname); // ignore return value
+        temail = temail.toLower();
         if (!temail.isEmpty()) {
             if (!mResultList.contains(temail)) {
                 mResultList.append(temail);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.