Skip to content

Sub-boundaries inside of parts #594

@freescout-help

Description

@freescout-help

Describe the bug

iCloud Webmail uses such weird thing as sub-bundaries inside of part. And it looks like the library is not able to handle such things for now.

Here is an example:

...
Content-Type: multipart/alternative; boundary=Apple-Webmail-42--f192ad65-3385-4ac2-88a9-fcac9ffa66ff
MIME-Version: 1.0


--Apple-Webmail-42--f192ad65-3385-4ac2-88a9-fcac9ffa66ff
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
    charset=utf-8;
    format=flowed

This is test content.
--Apple-Webmail-42--f192ad65-3385-4ac2-88a9-fcac9ffa66ff
Content-Type: multipart/related;
    type="text/html";
    boundary=Apple-Webmail-86--f192ad65-3385-4ac2-88a9-fcac9ffa66ff


--Apple-Webmail-86--f192ad65-3385-4ac2-88a9-fcac9ffa66ff
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
    charset=utf-8;

<html><body><div><div>This is test content.<br></div></div></body></html>
--Apple-Webmail-86--f192ad65-3385-4ac2-88a9-fcac9ffa66ff--

--Apple-Webmail-42--f192ad65-3385-4ac2-88a9-fcac9ffa66ff--

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions