https://github.com/nodemailer/mailparser
Decode mime formatted e-mails
https://github.com/nodemailer/mailparser
mailparser mime
Last synced: about 1 month ago
JSON representation
Decode mime formatted e-mails
- Host: GitHub
- URL: https://github.com/nodemailer/mailparser
- Owner: nodemailer
- License: other
- Created: 2010-10-07T14:05:03.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2024-11-29T09:43:24.000Z (over 1 year ago)
- Last Synced: 2025-05-05T09:16:14.522Z (10 months ago)
- Topics: mailparser, mime
- Language: JavaScript
- Homepage:
- Size: 2.89 MB
- Stars: 1,617
- Watchers: 40
- Forks: 283
- Open Issues: 39
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-github-repos - nodemailer/mailparser - Decode mime formatted e-mails (JavaScript)
- awesome-starred - nodemailer/mailparser - Decode mime formatted e-mails (others)
README
# mailparser

> [!IMPORTANT]
> This module is in maintenance mode. It will continue to receive security updates and critical bug fixes, but no new features or feature changes will be added. For new projects, please consider using [PostalMime](https://github.com/postalsys/postal-mime), which works in both Node.js and browser environments.
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
First install the module from npm:
```
$ npm install mailparser
```
next import the `mailparser` object into your script:
```js
const mailparser = require('mailparser');
```
## Usage
See [mailparser homepage](https://nodemailer.com/extras/mailparser/) for documentation and terms.
### License
Licensed under MIT