Issue #45 new
Artem Belskii
created an issue

Hi! Thanks for great plugin, but we have some trouble with parsing emails from Instana. Some messages have a normal view, but some look like raw data. Probably we have some way for fix this?

Best regards, Artem Belskii

Comments (1)

  1. Sergio Kotelli

    Hello there, looks like problem with parsing data between <style></style> tags. I've tried to send mail without data inside this tags and 'Mailroom bot' displays the message perfectly, but when there is any data - 'Mailroom bot' cannot parse it in correct way as on image above. Here is html part of message:

    From: service@mail.com
    To: hereisgeneratedemailaddress@in.mailroom.hipch.at
    Subject: [TEST] Issue detected test message
    MIME-Version: 1.0
    Content-Type: text/html; charset=UTF-8
    Content-Transfer-Encoding: 7bit
    
    <!DOCTYPE html>
    <html lang="en">
    <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
      <meta http-equiv="X-UA-Compatible" content="IE=edge" />
      <meta name="viewport" content="width=device-width, initial-scale=1" />
      <style type="text/css">
        #outlook a{padding:0;}
        .ReadMsgBody{width:100%;} .ExternalClass{width:100%;}
        .ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div {line-height: 100%;}
        body, table, td, a{-webkit-text-size-adjust:100%; -ms-text-size-adjust:100%;}
      </style>
      <title>[TEST] Issue detected</title>
    </head>
    <body>
    <p>
    ......
    

    Please let me know if you need additional information.

    Thanks in advance!

  2. Log in to comment