如果它们无效,如何防止 Outlook 在电子邮件中将 href 链接显示为纯文本?

问题描述

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

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

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

[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 上正确显示

感谢您的帮助!

解决方法

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

<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>