danyblue wrote: I have tried to setup this kind of feature using monharc and other tools liked it, but I have not been able to use them accordingly to what I have in Mind.
My latest try is using a program called Popper which can retrieve mails from a mailbox and save them into a mysql database. Then I am trying to implement a function that try to classify the mails based on simple rule.
If "subject" begins by "re:" them it must represent a reply to a previous mail and there so it should be already a thread in a forum. If not, it will ask the admin to define a category and forum to post the message.
I am not a very expert programmer in Php and in the PHPBB code. So help from people which would see a relevance in this would be fine.
danyblue wrote: Hi,
Do you have any code that can be shared as to be able to see your possible solution'
danyblue wrote: can you share the code you have developped? it would be interresting to have a reference to see how you handle the insert in the Phpbb database, it is where i am stuck.
danyblue wrote: in my case i think that the following functionalities should be included in the mod.
1 - take mails from the mbox file and gets them into mysql.
danyblue wrote: 2 - Parse the resulting messages against the Phpbb database and look matching subjects.
danyblue wrote: 3 - Look at sender and search in the user database for this user (probably based on the name of the sender or on the e-mail), if not found automatically register the user.
danyblue wrote: 4 - If the message is not found on the database, display the message in the screen with a dropdown box containing the forums available, that you can indicate manually where to include the messages that are not recognizer. I am basic this point on the fact that for me a mail list is just like a category where several discussions are taking place and that i want to separte through several forum in order to classify them.
danyblue wrote: 5 - If a new message is posted directly in the forum, sends it automatically to the corresponding maillist - using identifiers allow the system to recognize later that it is already a message included in the database.
danyblue wrote: Do you think of any other?
Users browsing this forum: No registered users and 7 guests