0.2.0 • Published 8 years ago

mehljs v0.2.0

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

mehl.js Readme

mehl.js is a mail parsing library with support for several standard MIME types. It automatically decode multipart messages, images, ..

Usage

To parse an e-mail, simply do the following:

var mehljs = require("mehljs");
var fs = require("fs");

var mailText = fs.readFileSync("/path/to/mail.eml");
var mail = new mehljs.Mail(mailText);

What's still missing?

  • Support for additional MIME types and better support for already included types, especially multipart/digest, S/MIME and PGP. Decryption of messages and message parts should be available.
  • Support for simple jquery-like search-patterns to find message parts. E.g. something like mail.$("multipart/* .Content-Disposition[filename='asdf.pdf']") to select all MIME parts with the filename "asdf.pdf".

What about the name?

The name mailjs was already taken. The word "Mehl" is german for flour, but is pronounced simillary (not exaclty the same) to mail.

0.2.0

8 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago