Link to home
Start Free TrialLog in
Avatar of duh123
duh123

asked on

Outlook Redemption MAPI_E_TOO_BIG

Hello

I would like to use redemption to save attachments (embedded messages) directly to an outlook folder.
When I iterate through the inbox, I encounter the following error after 250 mails (thats the limit by the exchange server):
Error in IMAPISession::OpenEntry: MAPI_E_TOO_BIG

How do I release the objects correctly ?

Please help
Thanks very much
Best regards
Heinz Dumfart

' sample code (vb.net 2005) just to test iterating:
&
oMyRDOSession = New Redemption.RDOSession
oMyRDOSession.Logon("PROFILENAME")
oMyRDOInbox = MyRDOSession.GetDefaultFolder(Redemption.rdoDefaultFolders.olFolderInbox)
 
For i = 1 To oMyRDOInbox.Items.Count
  oMyRDOMail = oMyRDOInbox.Items(i)
  Debug.WriteLine(i & vbTab & oMyRDOMail.Subject)
  oMyRDOMail = Nothing
End If
 
oMyRDOSession.Logoff()
&

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of duh123
duh123

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial