Requesting help for batch import from a mailbox based system
We are a non-profit organization planning to introduce Elkarte for the community. In the past we were using a mailbox based listserv system. In simple words, the system creates a mailbox file per month and allows users to post and reply via email. Now, the task is to import the existing mailboxes content to a particular category in our Elkarte system.
Technically the mailboxes can be exported in a text based format, following this scheme:
=========================================================================
Date: <timestamp>
Reply-To: <reply address>
Sender: <sender address>
From: <User given/last name>
Subject: <Subject>
... message body
=========================================================================
Date: <timestamp>
Reply-To: <reply address>
Sender: <sender address>
From: <User given/last name>
Subject: <Subject>
... message body
=========================================================================
Date: <timestamp>
Reply-To: <reply address>
Sender: <sender address>
From: <User given/last name>
Subject: <Subject>
... message body
The same information could also be extracted as single file, i.e. one file per thread. How could I batch import this information into the Elkarte system? Is there any kind of API or services interface that can be called? I have studied the OpenImporter for a while, and not sure if I could extend its concept to do such a thing.
Any pointer into the right direction is highly appreciated! On a lighter note, the respective registered users of the old system I could have as a separate file.