Re: Looping through mailbox file - WeOnlyDo Discussion board

Re: Looping through mailbox file (General questions)

by Joey, Monday, March 16, 2009, 18:31 (5729 days ago) @ wodDamir

Hi Joey,

Can you do the same on some folder that has less messages, just for test?

I tried doing the same on my side using our 1. Simple sample, any it worked like a charm. I just added the code to add Header (your code). Can you try doing the same?

Also, what version of the component are you using?

Regards,
Damba

I tried it with 115 messages and it worked fine. I thought that the insert value might be wrong since it is of datatype Iheader so I changed the code slightly:

oMessage.Headers.Add Message-Id , CStr(oMessage.Headers( Date ))

That did not make a difference - VB still crashes. Here is the error message:

Faulting application vb6.exe, version 6.0.97.82, faulting module wodmailbox.dll, version 2.1.3.67, fault address 0x000127ce.


Complete thread: