[python-win32] Calling Dispatch - Error -2147221005

Steven Manross steven at manross.net
Tue Jul 20 12:07:50 EDT 2021


Seems like you have the class string invalid…

“Outlook Application” should read “Outlook.Application”

Note the period.  😊

And then of course, you need Outlook installed, and the correct 32-bit or 64-bit version of Outlook for your python version.

HTH and Enjoy

Steven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/python-win32/attachments/20210720/c913b76b/attachment.html>


More information about the python-win32 mailing list