Have you tried to use the latest version of Redemption?
How big are the messages? What kind of message store do they come from (PST,
Exchange online/cached, etc)?
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
wrote in message
oups.com...
I have a licensed copy of Redemption, version 3.4.0.325, which I
distribute with another product. One of the functions of this product
is to save copies of various emails to the user's local drive in .msg
format. However, the SafeMailItem.SaveAs method is very slow.
I build a list of EntryIDs from a MAPI Table for the relevant emails
which I then use to obtain a reference to the MailItem. I assign the
MailItem to a Redemption SafeMailItem object, then call the SaveAs
method. After running various performance tests, the call to SaveAs is
without a doubt the slow step. It takes just under 1 second to save
each email, which doesn't sound like much, but it adds up very quickly
when processing batches of 50 or 100 emails. Some of this is limited
by the disk, I know, but it still seems much too slow. Any ideas? Is
this something that has been fixed in a more recent version of
Redemption? Is there a better way to bulk save emails that meet
certain criteria to disk?