As I recall, Calendar Items are a special kind of MailItem, and there is Body and BodyHTML on a mailItem which represent the “Text Body” and the “HTMLBody”.
https://docs.microsoft.com/en-us/office/vba/api/outlook.mailitem.bodyformat As well, there is a MailItem.BodyFormat which is supposed to be set to olFormatHTML per the document above. olBodyFormat enumeration docs are here: https://docs.microsoft.com/en-us/office/vba/api/outlook.olbodyformat They have some VBScript in the top URL that should be somewhat easy to convert to Python. HTH Steven From: python-win32 <[email protected]> On Behalf Of Ishaan Sathe Sent: Friday, May 27, 2022 8:57 AM To: [email protected] Subject: [python-win32] Inquiry about Sending HTML format in Appointment in Outlook Application Hii All , I am trying to send the Body in the Calendar invite in Outlook as HTML. Can somebody help me how to do this ? Thanks
_______________________________________________ python-win32 mailing list [email protected] https://mail.python.org/mailman/listinfo/python-win32
