If i send a template html over imap, bots creates a email header with not that much info.
Date: Wed, 10 Nov 2021 16:32:13 +0100
Subject: 68900806
MIME-Version: 1.0
Content-Type: text/xml; charset="utf-8"
Content-Transfer-Encoding: base64
....
If i put 'contenttype':'text/html', in the grammar it only changes the name of the attachment.
Date: Wed, 17 Nov 2021 09:43:17 +0100
Subject: 69516286
MIME-Version: 1.0
Content-Disposition: attachment;
filename="PurchOrderCancel_4844.templatehtml"
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: base64
.....
In the communicationscript i've made i create a multipart email which works just fine.
Date: Thu, 11 Nov 2021 10:29:56 +0100
Subject: 68981340
MIME-Version: 1.0
Content-Type: multipart/report; reporttype="disposition-notification";
boundary="===============0093520282628398892=="
Subject: Cancellation:
--===============0093520282628398892==
Content-Type: text/html
<html>
<head>
<title>Mail Test</title>
about beautifulsoup, pip list said it was installed, but actually it wasn't en for some reason bots didn't thow an error.
after reinstallting beautifulsoup it worked.
I also set up a route to process a replied mail and extract/convert the html table to a CSV for further processing.
....
Op maandag 15 november 2021 om 12:03:15 UTC+1 schreef eppye: