Strange unwanted header when reading text file with MIMEText
问题 I am writing a program to read from a text file. I have managed to get it to work, but am getting a strange header Which I do not want. The Text file is called "SixMonthTextFile.txt and saved with notepad in windows. The unwanted header I am getting is - Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Body of text read from file here I have tried stripping the first 3 lines and that is not working, just causes new problems. Any ideas on why it is