Re: [python-win32] PyIMAPIFolder.DeleteFolder ??

2012-04-20 Thread Sriram ET.
On Tue, Apr 17, 2012 at 11:12 AM, Mark Hammond mhamm...@skippinet.com.auwrote: On 17/04/2012 3:37 PM, Sriram ET. wrote: Hi Mark, is there anything I can do (like raise a feature request) or something that will put it somewhere in your roadmap? A feature request at sourceforce.net

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

[python-win32] PyIMAPIFolder.DeleteFolder ??

2012-04-13 Thread Sriram ET.
I am trying to programatically delete a Contacts folder (that I programatically created using PyIMAPI.CreateFolder), when I get the following exception: AttributeError: 'PyIMAPIFolder' object has no attribute 'DeleteFolder' I can see there is an EmptyFolder() implemented, and documented at:

[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

[python-win32] Convert MAPI error code numbers into meaningful strings

2012-03-19 Thread Sriram ET.
Are there any functions in pywin32 to convert, say, 0x8004010f into MAPI_E_NOT_FOUND? In general, what is the common / recommended way to deal with MAPI errors in pywin32 code? Cheers Sriram ___ python-win32 mailing list python-win32@python.org

Re: [python-win32] Setting a 64bit FILETIME PT_SYSTIME property using pywin32's SetProps()

2011-11-22 Thread Sriram ET.
() (Sriram ET.) -- Message: 1 Date: Mon, 21 Nov 2011 12:33:43 +0530 From: Sriram ET. karra@gmail.com To: python-wi...@mail.python.org Subject: [python-win32] Setting a 64bit FILETIME PT_SYSTIME property using pywin32's

Re: [python-win32] Setting a 64bit FILETIME PT_SYSTIME property using pywin32's SetProps()

2011-11-22 Thread Sriram ET.
0x0200)* * * This issues is caused by old version compatibility. In pythonwin, there is already implemented new one. But there is incorrect define in Headers. * * I guest this solution will be ok for you as well. On Tue, Nov 22, 2011 at 6:27 PM, Sriram ET. karra@gmail.com wrote

Re: [python-win32] Setting a 64bit FILETIME PT_SYSTIME property using pywin32's SetProps()

2011-11-22 Thread Sriram ET.
I guess my question is - does it not make sense to push this fix into the main tree and release a build? 2011/11/22 Sriram ET. karra@gmail.com Hm, I do not have a Visual Studio or similar development environment set up on my machine. Rebuilding from scratch - is there no other option