title: Collect multiple html files in a single email message
body: <pre><code>str_htmlHeader = "&lt;!DOCTYPE HTML PUBLIC&gt;\n&lt;html&gt;\n";
  str_htmlHeader += "&lt;head&gt;\n\t&lt;title&gt;Audi Cloud Services&lt;/title&gt;\n&lt;/head&gt;\n\n";
  str_htmlHeader += "&lt;body&gt;\n\n&lt;h1&gt;Nightly build test results&lt;/h1&gt;\n";
  str_htmlFooter = "\n&lt;/body&gt;\n\n&lt;/html&gt;";
  
  for root, dirnames, filenames in os.walk(r'\\ac-srvfile01\_Embedded\VCon1\proj_customer\337159_Audi_ACR_and_TSSS\pcm-audio'):
      for filename in fnmatch.filter(filenames, '*.html'):
          reportContent = open(os.path.join(root,filename)).read()
          attachment = MIMEText(str_htmlHeader+reportContent+str_htmlFooter, 'html')
          msg.attach(attachment)
  
          #msg.attach(MIMEText(open(filename).read(), "text/html"))
  </code></pre>
  
  <p>I am sending the message to a concerned person but the email is going to the respected person in a different email. I want to collect all the reports and send it as a single email. but the above code is sending the reports as a different email. Can someone help me how to fix that?  </p>