[python-win32] PyIMAPIFolder.DeleteFolder ??

Mark Hammond skippy.hammond at gmail.com
Tue Apr 17 03:19:24 CEST 2012


On 14/04/2012 1:39 AM, Sriram ET. wrote:
>
> 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:
> http://timgolden.me.uk/pywin32-docs/PyIMAPIFolder__EmptyFolder_meth.html) ...
> so why not DeleteFolder? Should I be looking in some other place?

I'm afraid that simply isn't exposed by pywin32 as yet.

Mark


More information about the python-win32 mailing list