/mailparser

Decode mime formatted e-mails

Primary LanguageJavaScriptOtherNOASSERTION

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.

Installation

Free, EUPL-licensed version

First install the module from npm:

$ npm install mailparser

next import the mailparser object into your script:

const mailparser = require('mailparser');

MIT version

MIT-licensed version is available for Postal Systems subscribers.

First install the module from Postal Systems private registry:

$ npm install @postalsys/mailparser

next import the mailparser object into your script:

const mailparser = require('@postalsys/mailparser');

If you have already built your application using the free version of mailparser and do not want to modify require statements in your code, you can install the MIT-licensed version as an alias for "mailparser".

$ npm install mailparser@npm:@postalsys/mailparser

This way you can keep using the old module name

const mailparser = require('mailparser');

Usage

See mailparser homepage for documentation and terms.

License

Licensed under European Union Public Licence (EUPL) v1.1 or later.

MIT-licensed version of mailparser is available for Postal Systems subscribers.