Email Received on Yahoo shows HTML code, not a proper message

computerlarry
computerlarry used Ask the Experts™
on
Email sent to a Yahoo user are received showing HTML formatting.
Is there a way to determine the cause?

Possible clues:
a CC: to an AOL user
An attachment

Here is a sample of what the message looks like, followed by the raw message:  
(Thanks)


<br>
<blockquote type="cite">
On October 19, 2018 at 12:13 PM Office Person <mxxxxxxxxxx@yahoo.com mailto:mxxxxxxxxxx@yahoo.com > wrote:
<br>
<br>
<div class="">
Dear Debbie,
</div>
<div class="">
<br class="">
</div>
<div class="">
Please find attached the initial Listing of Subject Matters, signed by Mxxxxx.
</div>
<


Raw Message below:

X-Apparently-To: mxxxxxxxxxx@yahoo.com; Fri, 19 Oct 2018 16:17:12 +0000
Return-Path: <info@dxxxxxxxxxxxxxxxxxn.com>
Received-SPF: none (domain of dxxxxxxxxxxxxxxxxxn.com does not designate permitted sender hosts)
X-YMailISG: qKG.UH8WLDs.FOsB1cMyFkzusazDRBj4HKCjOMdAX4qI0S7C
 DY8g.6LrdFltqjnqbSIHK5DJieJAm1MMp4hByEqI7mBZLFjod0BpERqUekPO
 ZQCQOXBiqa07zP1R7yD.9pKqIGINzHvaUzbqikOagkO9.ENL2_B7uoySjxfc
 6ZEzdk7GQcML.Jc3_fzUXBl6Ah5PcqzR1F81UYr11Uu0RxzhnLv0QDwD1EA_
 JvvYw.KkxMXDSg_KAtVrP1ytrC.sFF7.u3rLBO8XFZ8eR6761rNDZSBJzmx.
 6jxv3GfES7dd0Riz3RrSyLTO9hWGzrjtZuiH6Rv7qmG9NXtMcTaVSar2CJrU
 YJUZp2JBn491_DKLdvUW5_qEAxmGjxeB75sf_Xmn3_IRbfpf19Yjb_AOnkDE
 LLnDwwFNQxQikfDUGQ6GYG_fN5BZbUnbrFumz9YrO1chVPJfMfPXw_EdD7Tb
 xDXP3xrYcU3xkSdVIs3wQXZOn8tV.rwBt7QuxTfs95p.3CMz213Sa.lNmDhv
 9QkbZFU860Z6W8le7FfH1A7a5voXBk0qb_p4m33pibtAyX3VhIFuBWr3bsFW
 lZ8Mq_fmtyejORaU.p2amR0Cy4PGD9Htbpla723topvoTvVPh_xTdwEaT_WO
 AkXU.0Q1TaFZ8vUXSsxJdoNBL5Cj.gBddGvzPatmfBKVR1saaE8P_Jq3TsGU
 3oSFShBNGmLPGpYQ0f3Ciix7PeZeC7KZlfVt80P2IexF4HQXvqnzVvFJccRH
 M6mB3A_G_XYUcGFuUuNbiVzKcF8u99Jo3OwUORfCq21k96J3v.BGtF8VAvEw
 q9kOlMyT7fq_GDflFyxLHHkPyaNA8sqzoP_GAjJQs_mkXddi9Ug2OPGaqZLy
 PGx3tCJ8YZSo_PBcWxorP.RvNUkUXOKT8bXSqODNenRTgtn_ycYbME7KPbui
 IcLAtuX7lhBeXlgq6ZeozptCwKpdlMAROnzFOwqfnoVrfDA37kqmSDvtg8t8
 HHPB1D8VRUxMNpqKNiQbv6J1BdGP106GWlxzjAOnUTFI4LYWCJ2JWcncImcC
 c7l3W8JW
X-Originating-IP: [209.17.115.44]
Authentication-Results: mta4077.mail.gq1.yahoo.com  from=dxxxxxxxxxxxxxxxxxn.com; domainkeys=neutral (no sig);  from=dxxxxxxxxxxxxxxxxxn.com; dkim=neutral (no sig)
Received: from 127.0.0.1  (EHLO atl4mhob06.registeredsite.com) (209.17.115.44)
  by mta4077.mail.gq1.yahoo.com with SMTP; Fri, 19 Oct 2018 16:17:11 +0000
Received: from null ([10.30.71.93])
      by atl4mhob06.registeredsite.com (8.14.4/8.14.4) with ESMTP id w9JGH8QC020045
      (version=TLSv1/SSLv3 cipher=AES256-SHA256 bits=256 verify=NO);
      Fri, 19 Oct 2018 12:17:08 -0400
Date: Fri, 19 Oct 2018 12:17:08 -0400 (EDT)
From: "info dxxxxxxxxxxxxxxxxxn.com" <info@dxxxxxxxxxxxxxxxxxn.com>
Reply-To: "info dxxxxxxxxxxxxxxxxxn.com" <info@dxxxxxxxxxxxxxxxxxn.com>
To: Office Person <mxxxxxxxxxx@yahoo.com>
Cc: "Mr. & Mrs. Person Sending" <pxxxxxxxxxt@aol.com>
Message-ID: <421942086.137463.1539965828334@webmail6.networksolutionsemail.com>
In-Reply-To: <3B0893C1-66D3-47DB-B81B-9FB53D28ED2D@yahoo.com>
References: <D5AFD246-C829-4676-8681-EBCD58A6D960@aol.com>
 <434772167.41131.1539276371402@webmail6.networksolutionsemail.com>
 <3B0893C1-66D3-47DB-B81B-9FB53D28ED2D@yahoo.com>
Subject: Re: Subject Matter
MIME-Version: 1.0
Content-Type: multipart/alternative;
      boundary="----=_Part_137462_1317187521.1539965828328"
X-Priority: 3
Importance: Medium
X-Mailer: Open-Xchange Mailer v7.8.4-Rev41
X-Originating-Client: open-xchange-appsuite
Content-Length: 7182

------=_Part_137462_1317187521.1539965828328
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

Thanks!



<br>
<blockquote type="cite">
On October 19, 2018 at 12:13 PM Office Person <mxxxxxxxxxx@yahoo.com mailto:mxxxxxxxxxx@yahoo.com > wrote:
<br>
<br>
<div class="">
Dear Debbie,
</div>
<div class="">
<br class="">
</div>
<div class="">
Please find attached the initial Listing of Subject Matters, signed by Mxxxxx.
</div>
<div class="">
I will be in touch soon about additional Listings as the project develops.
</div>
<div class="">
<br class="">
</div>
<div class="">
Best and kind regards,
</div>
<div class="">
Amy Saxxxxy
</div>
<div class="">
<br class="">
</div>
<div class="">
<br class="">
</div>
<div class=""></div>
</blockquote>
<br>
<blockquote type="cite">

<div class=""></div>
<div class="">
<br class="">
</div>
<div class="">
<br class="">
</div>
<div class="">
<br class="">
</div>
<div class="">
<br class="">
</div>
<div class="">
<br class="">
</div>
<div class="">
<br class="">
</div>
<div class="">
<br class="">
</div>
<div class="">
<br class="">
</div>
<div class="">
<br class="">
</div>
<div class="">
<br class="">
</div>
<div class="">
<br class="">
</div>
<div class="">
<br class="">
</div>
<br class="">
<div>
<br class="">
<blockquote type="cite" class="">
<div class="">
On Oct 11, 2018, at 12:46 PM, info
<a href="http://dxxxxxxxxxxxxxxxxxn.com" http://dxxxxxxxxxxxxxxxxxn.com class="">dxxxxxxxxxxxxxxxxxn.com</a> <
<a href="mailto:info@dxxxxxxxxxxxxxxxxxn.com mailto:info@dxxxxxxxxxxxxxxxxxn.com " class=""info@dxxxxxxxxxxxxxxxxxn.com">>info@dxxxxxxxxxxxxxxxxxn.com</a>> wrote:
</div>
<br class="Apple-interchange-newline">
<div class="">

<div class="">
<p class="">Good Afternoon,</p>
<p class="">Please complete the attached Listing of Subject Matter form and return it to our office. </p>
<p class="">This form enables us to xxxxxxxxxxxxxxxxx on Subject Matter work completed xxxxxxxxxxxxxxxx.</p>
<p class="">Thank you!</p>
<p class="">Debbie</p>
</div>
<span id="cid:AF7F2882-6F13-4B0D-ADDC-2710991AE68E@nyc.rr.com mailto:AF7F2882-6F13-4B0D-ADDC-2710991AE68E@nyc.rr.com "><Wxxxxxx Subject Mattermenet.pdf></span>
</div>
</blockquote>
</div>
<br class="">
</blockquote>
<br>


------=_Part_137462_1317187521.1539965828328
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html>
<html><head>
    <meta charset=3D"UTF-8">
</head><body>Thanks!<br><br> <br> <br>  &#60;br&#62;<br>  &#60;blockquote t=
ype=3D&#34;cite&#34;&#62; <br>   On October 19, 2018 at 12:13 PM Office Ass=
istant &#60;<a href=3D"mailto:mxxxxxxxxxx@yahoo.com">mxxxxxxxxxx@yahoo.com<=
/a>&#62; wrote:<br>   &#60;br&#62;<br>   &#60;br&#62;<br>   &#60;div class=
=3D&#34;&#34;&#62;<br>    Dear Debbie,<br>   &#60;/div&#62;<br>   &#60;div =
class=3D&#34;&#34;&#62;<br>    &#60;br class=3D&#34;&#34;&#62;<br>   &#60;/=
div&#62;<br>   &#60;div class=3D&#34;&#34;&#62;<br>    Please find attached=
 the initial Listing of Subject Matters, signed by Mxxxxx.<br>   &=
#60;/div&#62;<br>   &#60;div class=3D&#34;&#34;&#62;<br>    I will be in to=
uch soon about additional Listings as the project develops.<br>   &#60;=
/div&#62;<br>   &#60;div class=3D&#34;&#34;&#62;<br>    &#60;br class=3D&#3=
4;&#34;&#62;<br>   &#60;/div&#62;<br>   &#60;div class=3D&#34;&#34;&#62;<br=
>    Best and kind regards,<br>   &#60;/div&#62;<br>   &#60;div class=3D&#3=
4;&#34;&#62;<br>    Amy Saxxxxy<br>   &#60;/div&#62;<br>   &#60;div class=
=3D&#34;&#34;&#62;<br>    &#60;br class=3D&#34;&#34;&#62;<br>   &#60;/div&#=
62;<br>   &#60;div class=3D&#34;&#34;&#62;<br>    &#60;br class=3D&#34;&#34=
;&#62;<br>   &#60;/div&#62;<br>   &#60;div class=3D&#34;&#34;&#62;&#60;/div=
&#62;<br>  &#60;/blockquote&#62; <br>  &#60;br&#62;&#160;<br>  &#60;blockqu=
ote type=3D&#34;cite&#34;&#62; <br>   <br>   &#60;div class=3D&#34;&#34;&#6=
2;&#60;/div&#62;<br>   &#60;div class=3D&#34;&#34;&#62;<br>    &#60;br clas=
s=3D&#34;&#34;&#62;<br>   &#60;/div&#62;<br>   &#60;div class=3D&#34;&#34;&=
#62;<br>    &#60;br class=3D&#34;&#34;&#62;<br>   &#60;/div&#62;<br>   &#60=
;div class=3D&#34;&#34;&#62;<br>    &#60;br class=3D&#34;&#34;&#62;<br>   &=
#60;/div&#62;<br>   &#60;div class=3D&#34;&#34;&#62;<br>    &#60;br class=
=3D&#34;&#34;&#62;<br>   &#60;/div&#62;<br>   &#60;div class=3D&#34;&#34;&#=
62;<br>    &#60;br class=3D&#34;&#34;&#62;<br>   &#60;/div&#62;<br>   &#60;=
div class=3D&#34;&#34;&#62;<br>    &#60;br class=3D&#34;&#34;&#62;<br>   &#=
60;/div&#62;<br>   &#60;div class=3D&#34;&#34;&#62;<br>    &#60;br class=3D=
&#34;&#34;&#62;<br>   &#60;/div&#62;<br>   &#60;div class=3D&#34;&#34;&#62;=
<br>    &#60;br class=3D&#34;&#34;&#62;<br>   &#60;/div&#62;<br>   &#60;div=
 class=3D&#34;&#34;&#62;<br>    &#60;br class=3D&#34;&#34;&#62;<br>   &#60;=
/div&#62;<br>   &#60;div class=3D&#34;&#34;&#62;<br>    &#60;br class=3D&#3=
4;&#34;&#62;<br>   &#60;/div&#62;<br>   &#60;div class=3D&#34;&#34;&#62;<br=
>    &#60;br class=3D&#34;&#34;&#62;<br>   &#60;/div&#62;<br>   &#60;div cl=
ass=3D&#34;&#34;&#62;<br>    &#60;br class=3D&#34;&#34;&#62;<br>   &#60;/di=
v&#62;<br>   &#60;br class=3D&#34;&#34;&#62;<br>   &#60;div&#62;<br>    &#6=
0;br class=3D&#34;&#34;&#62;<br>    &#60;blockquote type=3D&#34;cite&#34; c=
lass=3D&#34;&#34;&#62;<br>     &#60;div class=3D&#34;&#34;&#62;<br>      On=
 Oct 11, 2018, at 12:46 PM, info <br>      &#60;a href=3D&#34;<a href=3D"ht=
tp://dxxxxxxxxxxxxxxxxxn.com" rel=3D"noopener" target=3D"_blank">http://duc=
illoconstruction.com&#34;</a> class=3D&#34;&#34;&#62;dxxxxxxxxxxxxxxxxxn.co=
m&#60;/a&#62; &#60;<br>      &#60;a href=3D&#34;mailto:<a href=3D"mailto:in=
fo@dxxxxxxxxxxxxxxxxxn.com">info@dxxxxxxxxxxxxxxxxxn.com</a>&#34; class=3D&=
#34;&#34;<a href=3D"mailto:">info@dxxxxxxxxxxxxxxxxxn.com&#34;&#62;&#62;inf=
o@dxxxxxxxxxxxxxxxxxn.com</a>&#60;/a&#62;&#62; wrote:<br>     &#60;/div&#62=
;<br>     &#60;br class=3D&#34;Apple-interchange-newline&#34;&#62;<br>     =
&#60;div class=3D&#34;&#34;&#62; <br>       <br>      &#60;div class=3D&#34=
;&#34;&#62;<br>       &#60;p class=3D&#34;&#34;&#62;Good Afternoon,&#60;/p&=
#62;<br>       &#60;p class=3D&#34;&#34;&#62;Please complete the attached C=
ertificate of Subject Matter form and return it to our office.&#160;&#=
60;/p&#62;<br>       &#60;p class=3D&#34;&#34;&#62;This form enables us to =
reduce your costs by not charging sales tax on Subject Matter work com=
pleted on your property.&#60;/p&#62;<br>       &#60;p class=3D&#34;&#34;&#6=
2;Thank you!&#60;/p&#62;<br>       &#60;p class=3D&#34;&#34;&#62;Debbie&#60=
;/p&#62;<br>      &#60;/div&#62; <br>      &#60;span id=3D&#34;cid:<a href=
=3D"mailto:AF7F2882-6F13-4B0D-ADDC-2710991AE68E@nyc.rr.com">AF7F2882-6F13-4=
B0D-ADDC-2710991AE68E@nyc.rr.com</a>&#34;&#62;&#60;Wxxxxxx Subject Matterm=
enet.pdf&#62;&#60;/span&#62;<br>     &#60;/div&#62;<br>    &#60;/blockquote=
&#62;<br>   &#60;/div&#62;<br>   &#60;br class=3D&#34;&#34;&#62;<br>  &#60;=
/blockquote&#62; <br>  &#60;br&#62;&#160;<br> <br></body></html>
=20
------=_Part_137462_1317187521.1539965828328--
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Two wrong things in there.

Your multipart sub-elements should not have the `MIME-Version: 1.0` headers; only the root element needs that.

Your HTML body has a random mix of entity escaping and raw HTML. Nearly all of those entities should not be entities. For example where you have `&#60;br&#62;<br>` it should just be `<br><br>`. In short, you need to look at how you are constructing your message body.

I'd recommend using a library such as PHPMailer that can do all this encoding correctly for you; you shouldn't be doing it yourself.

Author

Commented:
Marcus - do you have an idea if the sender's email is creating a message with incorrect HTML or if Yahoo is mis-reading the message?  Could this just have been caused by some odd error on the sender?
This can only be down to the sender using confused (to use a generous term!) HTML.
Fractional CTO
Distinguished Expert 2018
Commented:
As Marcus suggested, the sender's email system, or how ever the message was constructed which might well be some ad-hoc/handrolled system... has produced a garbled message.

It's unlikely the above message will be readable in any email client.

Worse, Yahoo will likely mis-classify this as spam + downgrade the sender addr + IP reputation, if very many messages like this are sent to many Oath (Yahoo/AOL) recipients.

If you are in charge of the source of this email, best fix this before sending any more email to Oath recipients.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial