Click to See Complete Forum and Search --> : JAVA code for scanning an email box (Outlook) for specific Email Titles
maximo_nazar
04-12-2005, 09:15 AM
Hello to All!
I am looking for a JAVA code that scans an Outlook Express (or any kind of Email Box) for Emails with a Title let say "Hello world" and invokes the user with any kind of alarm sound.
Maybe someone has done something similar!
Any HELP will be wellcomed!
I thank you in Advance!
Regards,
Max
Khalid Ali
04-12-2005, 12:05 PM
sounds rather difficult.
See for starters, you will need to know what format outlook writes files in so that you can read them from an archive or pst file type. Which I doubt that you can lay your hands on since it MS tech.
Some other email utilities such as Mozilla email client is fairly simple, and that is cus it save all of your emails in comma separated text files and you can read those and display whatever you wanted.
Neeraj Garg
04-13-2005, 10:09 AM
Yup! Its pretty difficult to read the outlook file, as the format is unknown..
ray326
04-14-2005, 12:16 AM
You'll probably have to use a JNI interface to the MS Outlook OLE interface to do that. Not a trivial task.
Khalid Ali
04-14-2005, 08:08 AM
You'll probably have to use a JNI interface to the MS Outlook OLE interface to do that. Not a trivial task.
Not even that, unless MS releases the API to interact appropriately with the Outlook, you can not do nothing.
ray326
04-14-2005, 09:12 PM
It'll depend on exactly what the job is but we did some similar things with Outlook/Exchange using Perl and a Perl/OLE interface module a few years ago.
Khalid Ali
04-14-2005, 09:18 PM
Thats exactly what I said in the very first post, it has to be MS to release the API to create such objects to interact with. Which ofcourse we all know that MS does have a good reputation to work with Java technologies (sarcasm)..:-)
ray326
04-16-2005, 02:25 PM
Ah, but MS only has to release the native interfaces, which they've already done. They certainly had nothing to do with the Perl mod we used before.