|
FastMail Forum All posts relating to FastMail.FM should go here: suggestions, comments, requests for help, complaints, technical issues etc. |
|
Thread Tools |
16 Oct 2017, 02:26 AM | #1 |
Junior Member
Join Date: Apr 2007
Posts: 23
|
Checking whether list of messages with given msgids are in mailbox
Hi,
I have a set of emails-as-files on my hard drive that are mangled a bit (multiple emails per file). Most of these are in my FastMail mailbox, but some may not be. i would like to check which are and which aren't. I know how to do this for each message manually: find msgid, search for it in FM interface. However, I have more than 500 such messages… I can create a list of msgids for all the mails contained in these files. Is there a way in which I can check all of these in an automated way? Using the interface? Use a third-party tool (open source)? Erik |
16 Oct 2017, 04:47 AM | #2 | |
Junior Member
Join Date: Apr 2007
Posts: 23
|
Quote:
Code:
for msgid in msgids: if c.search("HEADER Message-ID " + msgid) == []: print(msgid) |
|
Thread Tools | |
|
|