GithubHelp home page GithubHelp logo

Comments (2)

Slamdunk avatar Slamdunk commented on August 15, 2024

That seems an invalid Date header: can you provide the raw message headers?

from imap.

Slamdunk avatar Slamdunk commented on August 15, 2024

Dates are now extensively tested:

imap/tests/MessageTest.php

Lines 320 to 330 in 6ae87c9

public function provideDateCases(): array
{
return [
['2017-09-28T09:24:01+0000', 'Thu, 28 Sep 2017 09:24:01 +0000 (UTC)'],
['2014-06-13T17:18:44+0200', '=?ISO-8859-2?Q?Fri,_13_Jun_2014_17:18:44_+020?=' . "\r\n" . ' =?ISO-8859-2?Q?0_(St=F8edn=ED_Evropa_(letn=ED_=E8as))?='],
['2008-02-13T02:15:46+0000', '13 Feb 08 02:15:46'],
['2008-04-03T12:36:15-0700', '03 Apr 2008 12:36:15 PDT'],
['2004-08-12T23:38:38-0700', 'Thu, 12 Aug 2004 11:38:38 PM -0700 (PDT)'],
['2006-01-04T21:47:28+0000', 'WED 04, JAN 2006 21:47:28'],
];
}

If you'll ever encounter this message again please ping me.

Still, now you can catch invalid date header with InvalidDateHeaderException: #205

Thank you for your feedback.

from imap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.