19 Commits
Author SHA1 Message Date
Maurus Decimus 82a87a063d Keep parameter values after a fold following = (fixes #165) 2026-10-29 12:05:17 +01:00
Maurus Decimus 096b8b01e2 Updated benchmarks 2026-09-28 19:26:54 +02:00
Maurus Decimus a5a5d74ba0 Merge v1.0.0 branch into main (fixes #156 closes #127 fixes #109 closes #107 closes #98 closes #82 closes #73 fixes #119 fixes #70 fixes #67) 2026-09-28 14:00:35 +02:00
Maurus Decimus 1883c39102 v0.11.7 2026-08-20 16:14:00 +02:00
Maurus Decimus f9a580c551 Fix: panic when a Received header ends with a folded line (closes #155) 2026-08-10 19:22:45 +02:00
Maurus Decimus 67a53e3ded Fix: panic with messages containing corrupted eml attachments (closes #120). 2026-07-08 17:59:12 +02:00
Maurus Decimus b47ebe0d8f Recognize additional charset labels supported by encoding_rs (closes #123) 2026-07-08 17:07:13 +02:00
Maurus Decimus 6da7920ab6 Leniently decode quoted-printable bodies with invalid = escapes (closes #144) 2026-06-21 09:07:56 +02:00
Maurus Decimus 2bff6e8d9d Fix panic with messages containing corrupted attachments (closes #145) 2026-05-02 09:15:12 +02:00
mdecimus af44d480ad v0.11.2 2026-02-14 18:43:43 +00:00
mdecimus 9122a32e08 Fix CRLF tests (closes #132) 2026-02-04 20:48:44 +01:00
Cameron Little df057edf09 Fix broken receive header date parsing when tab is used in long header syntax (#130)
* Add example tests for broken received parsing in shapelib email

This comes from http://lists.maptools.org/pipermail/shapelib.mbox/shapelib.mbox, where several of the emails received headers are incorrectly parsed.

The bad parsing looks like this:

Original header value:

```
from [217.146.183.184] by nm2.bullet.mail.ukl.yahoo.com with NNFMP; 09 Mar 2011 11:19:46 -0000
```

```json
"date": {
  "year": 1911,
  "month": 219,
  "day": 3,
  "hour": 19,
  "minute": 46,
  "second": 0,
  "tz_before_gmt": true,
  "tz_hour": 0,
  "tz_minute": 0
}
```

Where the year should be 2011 and the month 3.

Weirdly, this reproduces in full message parsing, but not in the individual `received.json` tests.

This looks like it's similar to https://learn.microsoft.com/en-us/answers/questions/2737324/windows-live-mail-has-received-date-set-well-into

* Fix

* Add test case from https://github.com/stalwartlabs/mail-parser/issues/81
2026-01-15 00:18:34 +01:00
mdecimus c5d47b5b8e v0.11.0 2025-05-11 16:29:41 +02:00
sftse e97d14ad89 Add .eml example with odd behavior (#88)
* Add .eml example with odd behavior

* Parse malformed, non-multipart, single text/plain messages best-effort as if text is not malformed
2025-01-25 15:14:19 +01:00
mdecimus 65533d3faf v0.9.2 2023-11-27 09:34:59 +01:00
mdecimus 56d2c3b8b0 v0.9.1 2023-09-22 13:38:55 +02:00
mdecimus ec04c1412d Merged RfcHeader into HeaderName 2023-09-04 19:48:47 +02:00
mdecimus e230000856 Moved address related object to Address enum 2023-09-04 18:27:15 +02:00
mdecimus 8e5381f60b Project reorganization 2023-09-04 15:23:45 +02:00