I am using Win32com.client to read email content from Outlook, but one of the emails contains a table. When I read the table using msg.body() The table is stored in a string format and does not look like a table. The whole email body is stored like a string including the table. Is there a way that I can recognize this table while parsing through the email body using Win32com and what good way can be used to read this table and store it in a variable to look like an actual table.
Note: I am using python to do so
Thank you in advance
Read the HTMLBody property instead and parse out the <table> elements.
How to copy a table from an outlook email and store it in a variable