windows mail app displays html code in emails

Anonymous
2022-07-19T00:19:50+00:00

I am running windows 11. When using the windows mail and agenda app some emails appear in their html format. This is an example:

<!-- end of setup -->

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>

  <head>

    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" />

    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

    <style type="text/css">

      ReadMsgBody{ width: 100%;}

      .ExternalClass {width: 100%;}

      .ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div {line-height: 100%;}

      body {-webkit-text-size-adjust:100%; -ms-text-size-adjust:100%;margin:0 !important;}

      p { margin: 1em 0;}

      table td { border-collapse: collapse;}

      img {outline:0;}

      a img {border:none;}

      @-ms-viewport{ width: device-width;}

    </style>

     <style type="text/css">

        html,

        body {

            margin: 0 auto !important;

            padding: 0 !important;

            height: 100% !important;

            width: 100% !important;

        }

        * {

            -ms-text-size-adjust: 100%;

            -webkit-text-size-adjust: 100%;

        }

        div[style*="margin: 16px 0"] {

            margin: 0 !important;

        }

        table,

        th {

            mso-table-lspace: 0pt !important;

            mso-table-rspace: 0pt !important;

            font-weight: normal;

        }

        table {

            border-spacing: 0 !important;

            border-collapse: collapse !important;

            table-layout: fixed !important;

        }

        table table table {

            table-layout: auto;

        }

        a {

            text-decoration: none;

        }

        img {

            -ms-interpolation-mode:bicubic;

        }

        *[x-apple-data-detectors],

        .unstyle-auto-detected-links *,

        .aBn {

Windows for home | Windows 11 | Performance and system failures

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

51 answers

Sort by: Newest
  1. Anonymous
    2022-07-19T00:59:51+00:00

    Hi DeBs. I'm Greg, 10 years awarded Windows MVP, here to help you.

    This is being widely reported and afflicts only the Mail app, as you can read the same mails in the provider's account in a browser. I expected it to be fixed by now but apparently we need more Feedback to be filed to get developer's attention.

    If you want to add your voice to report this bug to Microsoft you may be able to help improve this product/experience by using the Feedback Hub in Start Menu. While they will probably not see this here in the forums, Microsoft developers DO read feedback from customers that comes in via the Feedback Hub, so that is a great way to share your thoughts on how to better serve you as a customer.

    I hope it helps.

    Was this answer helpful?

    7 people found this answer helpful.
    0 comments No comments