Commit Graph
120 Commits
Author SHA1 Message Date
Mauro D d9682c2725 Fixed support for empty messages. 2022-10-09 17:15:45 +00:00
Mauro D a1497a95b9 Added ludicrous mode and header parsing helper functions. 2022-10-09 16:36:03 +00:00
Mauro D 4390417247 Added ludicrous mode and header parsing helper functions. 2022-10-08 17:50:08 +00:00
Mauro D 3f2200a718 Base64/QuotedPrintable decoding optimizations. 2022-09-23 13:46:19 +00:00
odina c9b21208db Add support for gb2312 charsets (#30) 2022-09-09 10:56:51 +02:00
Mauro D de4aecf9f1 Support for malformed unstructured fields containing encoded words 2022-09-09 08:54:56 +00:00
Mauro D 9794de57c4 Support for malformed unstructured fields containing encoded words 2022-09-09 08:07:10 +00:00
Mauro D c5ce06c586 Support for malformed unstructured fields containing encoded words (#29) 2022-09-08 15:56:30 +00:00
Mauro D ae62000a98 Raw message offsets fixes. 2022-08-21 10:21:17 +00:00
Mauro D f080b911df Maildir/mbox improvements. 2022-08-12 15:17:15 +00:00
Mauro D 1e868fd683 Support for metadata parsing within mbox mailboxes. 2022-08-11 13:03:28 +00:00
Mauro D 09960ef610 Renamed MBoxIterator to MessageIterator. 2022-08-10 16:30:58 +00:00
Mauro D a9694def15 Fixed CI tests. 2022-08-10 13:54:23 +00:00
Mauro D 20ecc490f2 v0.6.0 2022-08-10 13:38:42 +00:00
Mauro D 402ee4c4db v0.6.0 2022-08-10 12:51:30 +00:00
Mauro D e922562b1c Fixed raw offset range in body parts. 2022-08-02 16:24:47 +00:00
Mauro D 215d5aa9ac Renamed header offset fields. 2022-07-30 13:19:24 +00:00
Mauro D d230fce62f Headers and attributes are now stored in a Vec instead of a HashMap. 2022-07-30 13:16:20 +00:00
Mauro D 3a7126f64e Support for Content-Type attributes spanning multiple lines. 2022-07-28 12:15:03 +00:00
Mauro D bb0e3366da Support for malformed Thunderbird messages (#27). 2022-07-19 07:26:15 +00:00
Mauro D 4e49dff9e5 v0.5.0 2022-07-15 13:49:17 +00:00
Mauro D 6b23f08ee0 MimePart refactoring. 2022-07-15 08:12:57 +00:00
Mauro D 7f86ea13f9 MimePart refactoring. 2022-07-15 07:58:36 +00:00
Mauro D 371d0ff12e Improved handling of corrupted MIME messages. 2022-07-13 13:28:41 +00:00
Mauro D 5d4c0538ca Raw body parts offset support. 2022-07-12 15:18:22 +00:00
Mauro D ff1e2ee70a Raw body parts offset support. 2022-07-12 14:12:46 +00:00
Mauro D aeb02dcc4d Revert "Add offset_last_part to Message (#25)"
This reverts commit db61a0364c.
2022-07-10 06:36:00 +00:00
Quentin Dufour db61a0364c Add offset_last_part to Message (#25) 2022-07-06 18:57:51 +02:00
Mauro D b76c9f510c Merge branch 'main' of github.com:stalwartlabs/mail-parser into main 2022-06-30 06:42:22 +00:00
Mauro D c391056b92 DecoderFnc less restrictive lifetime. 2022-06-30 06:42:09 +00:00
Johann150 0064d3443a derive Clone for DateTime (#23)
This might be useful for `struct`s that want to store a `DateTime` while also deriving `Clone` themself.
2022-06-22 22:01:07 +02:00
Mauro D 28fe4d3aff get_bytes_to_boundary fix (#21) 2022-06-06 18:18:18 +00:00
Mauro D 2805e029ff v0.4.7 2022-06-03 06:40:21 +00:00
Mauro D 35b4846c7e Added get_header function. 2022-06-02 17:33:39 +00:00
Mauro D 75d9a9e96a Added get_raw_headers function. 2022-06-02 17:27:45 +00:00
Mauro D 1e8dfd31cf Handle clients sending malformed Return-Path fields. 2022-06-02 13:13:58 +00:00
Bryan Leong 0be5ed4a41 Add support for ks_c_5601 charsets (#20)
* Add mapping for ks_c_5601-1987 charset

* Add mapping for ks_c_5601-1989 charset
2022-06-02 11:12:00 +02:00
Mauro D 62057172d0 Into implementations for RfcHeader 2022-05-20 12:05:17 +00:00
Mauro D a963f0caa7 DateTime into i64. 2022-05-19 14:56:26 +00:00
Mauro D e2b33a90f3 Zero offset timezones should be positive (#17) 2022-04-08 08:20:43 +00:00
BryanLeong d157525b1c Zero offset timezones should be positive (#17) 2022-04-08 10:19:17 +02:00
Mauro D 9f1edeed33 Updated copyright notice. 2022-04-04 14:55:30 +00:00
Mauro D 509fb718f3 DateTime to_timestamp fix #15. 2022-03-19 18:07:41 +00:00
Alex Wennerberg eab28c0b2d Change date is_valid check to inclusive range (#15)
* Use inclusive range for is_valid check

* Remove year check
2022-03-19 19:03:15 +01:00
Mauro D 2cae61c6d2 Replaced overflowing_add with wrapping_add. 2022-03-15 14:35:57 +00:00
Mauro D da4a9d9a47 v0.4.5 2022-03-14 17:09:24 +00:00
Mauro D c3b36dd0d6 Fixed issue #14 2022-03-08 06:43:48 +00:00
Mauro D 2f380451f5 Unwrap header name. 2022-02-01 16:59:39 +00:00
Mauro D 1a2ac1d027 Fixed build with --no-default-features #12 2022-01-30 11:41:22 +00:00
Mauro D beb21b3d03 Fixed \r leftover in get_bytes_to_boundary 2022-01-30 01:35:49 +00:00