I'm a publisher of a newsletter and many of our subscribers have 'changed' their email addresses and what they have are 'replies' to our email with a friendly notice that their email address has changed.
This is causing a problem for us because it stacks up in the thousands and shows up on our mail delivery software as if they 'opened' the letter when in fact it was a 'bot' that auto-replied.
I'm looking for a PHP library or a 3rd party Open Source tool that can simply connect to an IMAP server and export the 'from' address from a given folder one address per line and the subject.
The contents of the email do not matter. We just want the 'from' address so we can first remove them from the newsletter.
Does anyone know of a tool, free or paid that can read IMAP email and export CSV summaries of email activity?
Every tool I've investigated so far will let you save '1 message' as a text file - completely useless.
What we need is a tool to export an entire IMAP folder where all the replies to our newsletter are neatly stored.
Thank you!
mbsync
to copy the folder to a local maildir. This stores emails one message per file so it's very easy to pick out the "From" line, one per file. I'd write you a full answer but it's late...