Write a fast application in C or C++ which talks with pst files (e.g. I understood there is a microsoft com component which allows you to do that, or maybe something with MAPI?, or ...)
URGENT: has to be complete within 3 weeks from now!!!
Component has to do 2 things:
A:
Find all messages older than X days and having attachments.
Get each of these attachments out and replace with a link (top of body) e.g. [login to view URL]
id used is MD5 hash of file.
Save attachment as file in dir.
Name of file is original name.
B: (after doing A)
Find all messages older than X days and replace these messages with an empty message which will only have link to e.g. [login to view URL]
Original message is saved as .msg (mime) and id is md5 hash of full msg file.
Name of msg file = [day]_[month]_[year]_[from]_[subject]_[a number if still duplicate]
use config file in .ini format (use format below)
*[main]
archiveserver=**_[login to view URL]
_
[attachment]
#remove attachment when older than parameter below
# in days
olderthan=30
#only for attachments when size bigger than, in kb,
# if 0 than all messages
biggerthan=0
outputdir=c:\data\attachments
[message]
#replace message with link when older than parameter below
# in days
olderthan=30
outputdir=c:\data\messages
*
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).
## Platform
windows 2k+
C or C++