Skip to content

nodemailer/mailparser

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
December 8, 2022 23:06
July 24, 2018 16:15
October 11, 2021 15:15
lib
June 30, 2023 16:25
February 17, 2021 11:26
April 28, 2022 22:27
February 2, 2017 22:11
September 7, 2020 12:24
September 10, 2021 12:39
January 15, 2021 14:03
July 1, 2023 20:03

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