【问题标题】:How to prevent Outlook from displaying href links as plain texts in email if they are invalid?如果href链接无效,如何防止Outlook在电子邮件中将href链接显示为纯文本?
【发布时间】:2021-05-20 14:24:00
【问题描述】:

我的电子邮件模板中有电子邮件链接:

<a href="email@email.email">email</a>

即使我的电子邮件是有效的,因为这是我被要求做的,这些链接在 Outlook 上不能很好地显示,而不是标签“电子邮件”可点击”,我在 Outlook 网络上有类似的东西应用程序:(我猜即使在网络版本和移动版本中也是如此)

[email@email.email]电子邮件

真实例子:

<a
   href="email@email.email"
   style="text-decoration: none;"><span
   style="font-size: 16px; color: #055151; font-weight: 600; font-family: Helvetica, sans-serif 
   !important; text-decoration: underline; text-decoration-color: #055151;">Email</span>
</a>

href 在 Outlook 上显示为纯文本

每个链接都必须包含 https 或 http 才能在 Outlook 上正确显示?

感谢您的帮助!

【问题讨论】:

    标签: html email outlook html-templates


    【解决方案1】:

    如果您正在寻找重定向到邮件,那么这就是您的解决方案:

    <a
       href="mailto:email@email.email"
       style="text-decoration: none;"><span
       style="font-size: 16px; color: #055151; font-weight: 600; font-family: Helvetica, sans-serif 
       !important; text-decoration: underline; text-decoration-color: #055151;">Email</span>
    </a>
    

    【讨论】:

      猜你喜欢
      • 2015-11-22
      • 1970-01-01
      • 1970-01-01
      • 2018-09-18
      • 2015-07-26
      • 2022-01-22
      • 1970-01-01
      • 2014-06-10
      • 1970-01-01
      相关资源
      最近更新 更多