Stop Yahoo! Mail from Displaying Your Email Twice
If you use a simple street address in your email, there's a chance that Yahoo might duplicate your content twice, or maybe even three times. Each time, the repetative content starts with the city and state which caused the glitch in the first place. "Huh?" - our sentiment exactly, so let's dive straight into an example:
<html>
<body>
Office Address<br>
Attn: Gift and Estate Planning<br>
P.O. Box 55555<br>
Austin, TX 78713-7458<br>
Phone: 555-555-5555<br>
Austin, Texas 78713<br>
Austin, TX 78713-7458<br>
Austin, TX<br>
<div> This is a test</div>
<table><tr><td>This is a test</td></tr></table>
<p style="color:#F00; margin:20px">*** PAGE ENDING ***</p>
</body>
</html>
And here is your output in Yahoo!
As you can see, the first time the email is duplicated, it starts with the first instance of the address "Austin, TX 78713-7458". The second time it starts with "Texas 78713" which means that each instance caused a repeat.
I tried to narrow this down to a particular type of format which left me scratching my head even more. In fact, I later realized that it might only happen if you use 2 instances of the city and state. For example this will not cause a repeat:
Office Address<br>
Attn: Gift and Estate Planning<br>
P.O. Box 55555<br>
Austin, TX 78713-7458<br>
Phone: 555-555-5555<br>
<div> This is a test</div>
<table><tr><td>This is a test</td></tr></table>
<p style="color:#F00; margin:20px">*** PAGE ENDING ***</p>
But this will:
Office Address<br>
Attn: Gift and Estate Planning<br>
P.O. Box 55555<br>
Austin, TX 78713-7458<br>
Phone: 555-555-5555<br>
Austin, TX<br>
<div> This is a test</div>
<table><tr><td>This is a test</td></tr></table>
<p style="color:#F00; margin:20px">*** PAGE ENDING ***</p>
So what is going on here?
This seems to be caused by the pesky ruminants of Yahoo! Shortcuts, a plug-in that has been recently discontinued by Yahoo! Mail which once imposed random links from key words within your email. In reviewing the source code, it appears that Yahoo! Shortcuts is trying to geo code your address and although it does not insert an actual link anymore, something in the plug-in is causing everything else in your email to get duplicated. We'd like to give a special thanks to Ryan Beavers and Sarah Sauer for helping us figure this out via our online forum thread! Yahoo Displaying Emails TwiceWhat's the fix?
If this happens to you, the easiest fix is to spoof Yahoo! into thinking that your city and state are just another text string. To do this, you can add an HTML entity like "­" in your address so that Yahoo! does not recognize it.<p>...
­Austin, ­TX ­78713-7458<br />
Phone: 512­-555­-1212<br />
</p>
In the above example, we also inserted the same special character in front of each dash in the phone number to avoid issues in Gmail.