LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Store retreived mail in database (https://www.linuxquestions.org/questions/linux-software-2/store-retreived-mail-in-database-296691/)

deweirdt 03-02-2005 09:17 AM

Store retreived mail in database
 
Hi,

I would like to make a program were I receive a email and then store this email into a database.
A other program will check continious the database and do something with the mails.

Anybody know how to start on that problem?
Are there any existing programs like that?

Regards

machron1 03-03-2005 02:41 AM

Re: Store retreived mail in database
 
Quote:

Originally posted by deweirdt
Hi,

I would like to make a program were I receive a email and then store this email into a database.
A other program will check continious the database and do something with the mails.

Anybody know how to start on that problem?
Are there any existing programs like that?

Regards

Without doing much research on the subject, I would suggest using the fact that one may write plugins for Mozilla Thunderbird. I've looked at the format Thunderbird stores email as, and it's not pretty to look at, but I'm sure they have an api to manipulate it.

I'm not sure what the preferred language is to author Mozilla plugins, but you might consider XML-based storage ILO a database, or if you do want an actual database, consider using something similar to the Java-based HSQLDB which runs 100% in memory and is very simple to bundle with applications.

Good Luck!


All times are GMT -5. The time now is 03:19 AM.