What are the properties that you set? How do you open spMsg?
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
"Ivan" wrote in message
...
I create mail items using MAPI. It works fine in OL XP/2003.
But when I try to set some properties in OL 2007 I have MAPI_E_NO_ACCESS
error:
hr = spMsg-SetProps(sizeof(props) / sizeof(props[0]),
(LPSPropValue)&props,
NULL); // hr == MAPI_E_NO_ACCESS.
After that I see created mail item in given folder but only the recipient
property is filled.
So, how can I fill other message properties in OL 2007 using MAPI ?