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:
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. http://18.104.22.168/getAttachment?id=aabbccddeeff
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. http://22.214.171.124/getMessage?id=aaccbbddeeff
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)
#remove attachment when older than parameter below
# in days
#only for attachments when size bigger than, in kb,
# if 0 than all messages
#replace message with link when older than parameter below
# in days
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).
C or C++