M
Mike LeDuc
I have written an application that monitors MAPI notifications using
Advise and UnAdvise on the IMsgStore interface provided by MAPI. This
thing works great, except when receiving new emails in Outlook 2002
from a Hotmail account. Then it crashes on a call to HrGetOneProp.
It appears that this problem is related to the actual body of the
email not being brought down until you click on the email to view it.
Here is the actual call that I am making to HrGetOneProp:
hr = HrGetOneProp(lpMAPIProp, PR_MESSAGE_CLASS, &lpsPropValue);
I have verified that lpMAPIProp interface is good and supports at a
minimum the IMAPIProp interface.
Like I said earlier, this exact code has no problems on a regular
email received from an SMTP server.
I am looking for any help that anyone can provide me on this, as I
have an impending deadline for my project, and I have already spent a
lot of time trying to track this down.
Thanks,
Mike LeDuc
Advise and UnAdvise on the IMsgStore interface provided by MAPI. This
thing works great, except when receiving new emails in Outlook 2002
from a Hotmail account. Then it crashes on a call to HrGetOneProp.
It appears that this problem is related to the actual body of the
email not being brought down until you click on the email to view it.
Here is the actual call that I am making to HrGetOneProp:
hr = HrGetOneProp(lpMAPIProp, PR_MESSAGE_CLASS, &lpsPropValue);
I have verified that lpMAPIProp interface is good and supports at a
minimum the IMAPIProp interface.
Like I said earlier, this exact code has no problems on a regular
email received from an SMTP server.
I am looking for any help that anyone can provide me on this, as I
have an impending deadline for my project, and I have already spent a
lot of time trying to track this down.
Thanks,
Mike LeDuc