Did you open the folder and its parent store in the read/write mode?
--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Daman via OfficeKB.com" u49522@uwe wrote in message
news:9196bc4258743@uwe...
Hi,
I am trying to delete mails from the Exchange using the following code :
(using MAPI33.dll and C#)
result = inbox.DeleteMessages(messages, IntPtr.Zero, null,
MAPIFolder.FLAGS.
Default);
//messages if of type MAPI33.ENTRYID[]
result gives me back a NoAccess (2147942405) value.
Can anyone tell me what am I doing wrong here ?
Thanks in advance !!!
Daman
--
- Daman
Message posted via http://www.officekb.com