- ParsedMail empty addresses fields (to, from, cc, bcc, replyTo) should returm empty arrays
- Fix reported version
- Update dependencies
- Set and create the
MAILDEV_MAIL_DIRECTORY
to/tmp/maildev
in the docker image to prevent issues with named volume.
- Fix single mail deletion
- Fix https key and cert arguments
- Stop writing attachments to disk (Should fix: maildev#467).
- Add
MailBuffer
to easily wait for a specific mailconst buffer = mailServer.buffer("[email protected]"); const welcome = await buffer.next((m) => m.subject.startsWith("Welcome"));
- Remove vendored mailparser to use https://github.com/nodemailer/mailparser
Tried to keep a similar format for
email
but:- Default encoding is utf-8
- Issues with
uuencode
- Custom headers in Quoted-printable are not converted.
- Only the last occurence of a header is used.
- apply to
in-reply-to
which rfc5322 list at max=1
- apply to
- Inline attachment are not added in HTML (was
<div class="mailparser-attachment">
). - No mbox support
- Attachment are not streamed anymore, but use
Buffer
. - Mail format is now defined in type.ts
- Converted most the lib to Typescript
- Stopped stoing all mails in memory, keep only the enveloppe and read the rest from disk
- Exposed more event listener methods from
EventEmitter
- Added some Async support
mailEventSubjectMapper
allow to define custom eventsubject
(by default use the first recipient)