not to sure how to write this... so here goes.
I'm sure this is simple if you know what your doing !!
I'm looking to read unread email in an IMAP inbox.
Then capture each emails, FROM email address, Subject and Body and save this information into a MySQL Database.
Once the email has been read, it should be marked so... so it won't be processed again.
Any ideas ??
Many Thanks 🙂