![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
I am trying to access Outlook message attachments data more
efficiently. Right now, I am using Redemption.Attachment.SaveAsFile() and then I load them back in a Stream with ADODB.Stream.LoadFromFile(), but that adds a significant overhead in read/write time, which I hope I could avoid. Yes, I know Redemption provides AsText()/AsArray() for attachments, but these crash [out of memory] when processing large attachments. I stumbled on something in the Redemption History which cought my attention immediately: All Redemption items have a CopyTo() method which allows to copy a Redemption item into any Outlook Object Model or CDO message. Being able to copy a MailItem into a CDO.Message would mean that I could access the attachments data using an ADODB.Stream. The problem is that if I try this litterally, as in this little piece of code: ' "smi" is a Redemption.SafeMailItem Dim msg As New CDO.Message Call smi.CopyTo(msg) '-- error I get the following error: Run-time error '-2147418113 (8000ffff)': Method 'MAPIOBJECT' not supported by automation object What am I getting wrong? I am using "VB6" and "CDO for Windows 2000". Or is there another way to do what I am trying to do (access attachment data more efficiently)? Thanks for your help. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Redemption possibility | Johnny E Jensen | Outlook and VBA | 3 | June 21st 06 02:33 PM |
strong name and Redemption | Rog | Add-ins for Outlook | 3 | April 5th 06 05:03 PM |
Redemption | Christoph | Add-ins for Outlook | 5 | March 6th 06 03:26 PM |
Crash with Redemption | Lars Ibsen | Outlook and VBA | 4 | February 13th 06 05:29 AM |
Redemption MAPITable | Dmitry Streblechenko | Add-ins for Outlook | 1 | January 12th 06 04:09 AM |