Send table in pywin32 outlook email
问题 I use something like the following code to send emails automatically in Python. How do I make the table look like it was copied from excel into the email (i.e. table formatting)? Currently it treats the html formatted table as text within the body of the email, which is pretty useless. import win32com.client import pandas as pd #Parameters data= [{'A' : 'data', 'B': 2, 'C':1.78}, {'A' : 'data', 'B': 22, 'C':1.56},] table = pd.DataFrame(data) subject = 'email subject' body = '<html><body>' +