[Redemption OL2K] MAPIUtils.CreateRecipient Uses Exteremly High Volume Of Memory & Returns After Non

M

Michael Zino

Dear All,

I am using the Redemption component in an Outlook add-in project, which is
targeted for usage in Outlook Y2K, XP, and 2003.
Lately, I am facing a strange behavior on several workstations while using
my add-in.
I was able to trap the problem using the following code:

LogMsg "Creating MAPIUtils Object."
Set oUtils = Utils.GetSafeItem("Redemption.MAPIUtils")
LogMsg "MAPIUtils Created. Calling oUtils.CreateRecipient."
Set oSafeRecipient = oUtils.CreateRecipient(strResourceName)
LogMsg "After Creating SafeRecipient."

While executing the "oUtils.CreateRecipient" method, I can see that the
workstation's available memory drops dramatically and the time passed before
it returns exceeds any logical period.
Please note that, the strResourceName consists of a valid SMTP address.
I am currently using Redemption 3.3.

Please advice.

Regards,
Michael Zino
 
D

Dmitry Streblechenko \(MVP\)

Did you try the latest version 3.4?
Note that MAPIUtils object needs to obtain an Extended MAPI session to
resolve the recipient's name. In case of Outlook 2002 and up, you can help
it by adding the following line of code:
oUtils.MAPIOBJECT = OutlookNamespace.MAPIOBJECT
where OutlookNamespace is the Namespace object from OOM.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top