Reply to email using python 3.4
问题 I am trying to reply to an email using Python 3.4. The recipient of the email will be using Outlook (unfortunately) and it is important that Outlook recognizes the reply and displays the thread properly. The code I currently have is: def send_mail_multi(headers, text, msgHtml="", orig=None): """ """ msg = MIMEMultipart('mixed') # Create message container - the correct MIME type is multipart/alternative. body = MIMEMultipart('alternative') for k,v in headers.items(): if isinstance(v, list): v