パッケージの詳細

mailparser

nodemailer4.8mMIT3.7.2

Parse e-mails

readme

mailparser

Nodemailer

Advanced email parser for Node.js. Everything is handled as a stream which should make it able to parse even very large messages (100MB+) with relatively low overhead.

Looking for a front-end solution?

mailparser is Node.js only library, so you can't use it reliably in the front-end or bundle with WebPack. If you do need a solution to parse emails in the front-end then use PostalMime.

Installation

First install the module from npm:

$ npm install mailparser

next import the mailparser object into your script:

const mailparser = require('mailparser');

Usage

See mailparser homepage for documentation and terms.

License

Licensed under MIT

更新履歴

Changelog

3.7.2 (2024-11-29)

Bug Fixes

  • deps: Bumped deps to fix issue with missing whitespace (92884d0)

3.7.1 (2024-04-25)

Bug Fixes

  • deps: Replaced 'punycode' with 'punycode.js' module (4a15157)

3.7.0 (2024-04-01)

Features

  • events: Emit a new headerLines event to gain access the raw headers (#364) (d33d7ec)

3.6.9 (2024-02-29)

Bug Fixes

3.6.8 (2024-02-29)

Bug Fixes

  • punycode: Fixes #355 Deprecation warning of the punycode module (#356) (0f35330)

3.6.7 (2024-02-01)

Bug Fixes

  • :arrow_up: update nodemailer dependency to resolve security issue GHSA-9h6g-pr28-7cqp (#357) (8bc4225)

3.6.6 (2024-01-04)

Bug Fixes

  • deploy: added auto-deployment (d6eb56f)
  • Fix produced text address list string according to rfc 2822 (#340) (6bae600)
  • test: updated test matrix (18, 20, 21) (a2ba9c2)