Announcement

Collapse
No announcement yet.

Incoming emails, majority reporting Malformed header detected

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Incoming emails, majority reporting Malformed header detected

    I am still receiving some email, but I'm getting "(Get Message): [0] Malformed header detected [] []" for most emails coming to my account. Including normal looking email from gmail.com

    I'm on Version 4.2.7

    Please help!

    Edit: I'm going to try upgrading ZEND-MAIL manually. Will report back.

    Edit 2: Newest Zend still has error. I have manually edited ZEND-MAIL's Headers.php and removed the offending exceptions (surely a bad idea, but I'm out of ideas).

    I commented out lines 82 and 88:

    //throw new Exception\RuntimeException('Malformed header detected');

    Appears email is now arriving properly
    Last edited by FredFredrickson; 11-23-2016, 07:15 PM.

  • #2
    Hi,

    Don't upgrade zend mail. New zend mail version has much more bugs. The next version 4.3.0 (beta now) has alternative mail parser that seems works better.

    Comment


    • #3
      Originally posted by yurikuzn View Post
      Hi,

      Don't upgrade zend mail. New zend mail version has much more bugs. The next version 4.3.0 (beta now) has alternative mail parser that seems works better.
      You mentioned that you upgraded to new mail parser, but i'm on 4.3.0 now, and my log shows this today:

      [2016-12-14 20:40:03] Espo.ERROR: EmailAccount 5835e8ef0d2d2be2a (Import Message w/ zend-mail): [0] Malformed header detected [] []

      Comment


      • #4
        You need to install mailparse extension.

        "php -m" command in CLI will show if it's installed and loaded.

        Comment

        Working...
        X