John Levine via mailop:

It appears that A.Schulze via mailop <[email protected]> said:
Hello experts,

today, I found messages with this header:

        Date: Wed Jan 28 14:46:29 CET 2026

You are correct, it's wrong.

- python3.13 say: valid -> email.utils.parsedate() does not return 'None'

I looked at the code and it's deliberate. There have been a lot of
mail programmers in the past that didn't read the spec, so it's
adapting to reality.

can you suggest an other way to check a date is a valid date-header
in this place: https://github.com/mail-de/mailheadercheck/blob/6c65921c80fd0a75993ce9e55ede9a8a5d76e8e7/mailheaderchecklib/utility.py#L134-L140

Andreas

_______________________________________________
mailop mailing list
[email protected]
https://list.mailop.org/listinfo/mailop

Reply via email to