Anchor links only working in browser but not in in HTML email (Outlook)

后端 未结 7 1292
再見小時候
再見小時候 2020-12-20 16:40

I have an HTML email generated from a Windows application. The template used for this is designed in .aspx page. The email has some links at top of the page which should tak

相关标签:
7条回答
  • 2020-12-20 17:16

    While they work in just about every browser, support for anchor links is a mixed bag in email clients. Even though that link says Outlook 2007 (2010 and 2013 are the same) support anchor links, their behavior is unreliable at best.

    Simplifying the anchor's <a href=""> increases your coverage. Eg changing 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>
    

    to this:

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

    Email clients might trip over spaces and special characters.

    0 讨论(0)
提交回复
热议问题