mailparser
mailparser copied to clipboard
Decode mime formatted e-mails
Please add new property with raw unparsed headers - `transportMessageHeaders`. Right now, because the MailParser instance is not exported from the nodemailer library, the raw headers can be received only...
Is there an easy way to tell mailparser to persist parsed stuff as unix .mbox format ? thanks
Sent emails do have "x-originating-ip". How do I remove this?
Hi, how can I get the text value of an email recipient? I did it successfuly for a sender: ``` const email = await mailparser.simpleParser(stream); const from = email.from?.text ??...
``` Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: message/rfc822 .... ``` Now if the attachment type is "Content-Disposition: inline", then the attachment is inserted into the main mail in "html", and the...
Hello, The mailparser has a bug and skip the html content sometimes, apparently this is due to excess space. I tried to debug without success. ```js const assert = require("assert");...
nodemailer version: `6.8.0` Consider following snippet from my project using ES modules: ``` import simpleParser from 'nodemailer'; let stream; simpleParser(stream, (err, parsed) => {}); ``` Running it would throw ```...
The problem: --- `MailParser` attachment arrives without the filename The code: --- ``` const processAndWriteStream = async (stream: SMTPServerDataStream) => { const parser = new MailParser(); parser.on('data', async data =>...
I have email addresses in Chinese. The parser fails to handle them -- at least for **delivery-to**. I wrote my own parser so it's not critical for me but worth...
There are many members of the `ParsedMail` interface that can either be a type, an array of that type, or undefined. Writing downstream code which has to specifically handle array...