Mail may contain various blocks, for example:
--0016e68deb06b58acf04897c624e Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable content_1 ... --0016e68deb06b58acf04897c624e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable content_2 ... and so on
How can I get the contents of each block using python?
And also how to get the properties of each block? (content type, etc.)
source share