Menu

#93 IMAPIFolder:DeleteFolder needs to be implemented

open
nobody
win32 (43)
5
2012-04-20
2012-04-20
Karra
No

This MAPI method is not exported by Pywin32 today. It would be nice to have the ability to delete MAPI folders programatically.

-- Email correspondence on the pywin32 mailing list: --

Mark Hammond mhammond@skippinet.com.au
Apr 17 (3 days ago)
to me, python-win32

On 17/04/2012 3:37 PM, Sriram ET. wrote:
On Tue, Apr 17, 2012 at 6:49 AM, Mark Hammond <skippy.hammond@gmail.com
<mailto:skippy.hammond@gmail.com>> wrote:

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
<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.

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/projects/pywin32 would do that.

Cheers,

Mark

Related

Old Patches - new patches via https://github.com/mhammond/pywin32/pulls: #147

Discussion


Log in to post a comment.