Skip to content

support Content-Type and Content-Transfer-Encoding access for each parsed email parts #396

@ShawnXU0208

Description

@ShawnXU0208
--000000000000d6c5d20640658b56
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

these two headers seems to be ignored completely.

    parser.on('data', async (data) => {
      if (data.type === 'text') {
        console.log(data);
        mailobj.emails = parseEmailText(data.text);
      }
    });

the returned data doesn't contain these two

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions