Re: [python-win32] Error trying to do a EmptyFolder() (MAPI)

2012-04-19 Thread Sriram ET.
On Tue, Apr 17, 2012 at 6:55 AM, Mark Hammond skippy.hamm...@gmail.comwrote: On 14/04/2012 3:19 PM, Sriram ET. wrote: I have a folder in the Root Folder of a message store that I am trying to clear using EmptyFolder(). The code is as follows: folder = store.OpenEntry(eid,

Re: [python-win32] Error trying to do a EmptyFolder() (MAPI)

2012-04-16 Thread Mark Hammond
On 14/04/2012 3:19 PM, Sriram ET. wrote: I have a folder in the Root Folder of a message store that I am trying to clear using EmptyFolder(). The code is as follows: folder = store.OpenEntry(eid, None, MOD_FLAG) hr = folder.EmptyFolder(0, None, 0) I get the

[python-win32] Error trying to do a EmptyFolder() (MAPI)

2012-04-13 Thread Sriram ET.
I have a folder in the Root Folder of a message store that I am trying to clear using EmptyFolder(). The code is as follows: folder = store.OpenEntry(eid, None, MOD_FLAG) hr = folder.EmptyFolder(0, None, 0) I get the error: ' Error: unsupported operand type(s) for