Link binding does not work in HTML email (in Outlook), but works in a browser

I have an HTML email created from a windows application. The template used for this is developed on the .aspx page. There are some links in the email at the top of the page, and when you click on the links you should go to the detailed description at the bottom of the same email. This works great when testing in a browser, but does not work in email.

<a href="#Wickr raises $9 mln as Alsop Louie, Juniper Networks invest | Reuters">Wickr raises $9 mln as Alsop Louie, Juniper Networks invest | Reuters</a> 

the above anchor tag should go here when clicked

 <b id="Wickr raises $9 mln as Alsop Louie, Juniper Networks invest | Reuters" class="sectionheadline">Wickr raises $9 mln as Alsop Louie, Juniper Networks invest | Reuters</b> <br> in.reuters.comβ€”March 03, 2014 <br> <br> &quot;BOSTON, March 3 (Reuters) - Alsop Louie Partners led a $9 million investment in Wickr, a San Francisco-based startup founded by privacy advocates in 2012 that produces a mobile app for sending self-destructing text, photo and video messages. Gilman...<br><br>. 

In the "View source" field, the identifier in the tag and href match the tag, but in the message when it hangs on the link, the address has "_" instead of spaces, so the links do not work.

+6
source share
5 answers

so you encoded your anchor tags, for example:

 <a name="test">Wickr raises $9 mln</a> <a href="#test>Wickr raises $9 mln</a> 

And it still doesn't work? You should also take a look at campaignmonitor for supported browsers. For a while I did not encode email, but I remember that it was always unpleasant.

EDIT

Here 's a pretty cool article

+4
source

I found that tag placement

 <base href="" /> 

worked for me in the chapter section (Outlook 2013) with a standard anchor tag. I found this fix on this CampaignMonitor page

+2
source

I checked the following code in Outlook2007 and Outlook2013. It is working.

Anchor tag:

 <a href="#Test Link">Test Link</a> 

And the goal:

 <p><a name="Test Link"></a>Test Link</p> 
+1
source

The id / name attribute is similar to the name of a variable; for more support with cross-support, it really should not have characters or spaces in the first place.

Think about how it will look in the address bar:

  • webpage.html # Wickr% 20raises% 20% 249% 20 million% 20as% 20Alsop% 20Louie% 2C% 20Juniper% 20Networks% 20invest% 20% 7C% 20Reuters% 20

So, I think the stupid answer is not to use spaces ... At the same time, I noticed that both the appearance and winword will edit your hyperlink differently depending on the prefix "File:" or "http: " Hope this helps.

0
source

While they work in almost all browsers, support for anchor links is a mixed package in email clients . Although this link says that Outlook 2007 (2010 and 2013 are the same) support link binding, their behavior is unreliable at best.

Simplifying bindings <a href=""> increases your reach. For example, change something like this:

 <a href="#Wickr raises $9 mln as Alsop Louie, Juniper Networks invest | Reuters">Wickr raises $9 mln as Alsop Louie, Juniper Networks invest | Reuters</a> 

:

 <a href="#first">Wickr raises $9 mln as Alsop Louie, Juniper Networks invest | Reuters</a> 

Email clients may disconnect from spaces and special characters.

0
source

All Articles