本文介绍了如何阻止 Outlook 将电子邮件地址呈现为 mailto: 链接?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在创建要发送给用户的 HTML 电子邮件.如果 HTML 电子邮件中有一个有效的电子邮件地址,Outlook 会将它(通常很有帮助)呈现为一个 mailto: 链接.不幸的是,这不是我发送的特定电子邮件中想要的行为.
I am creating an HTML email to be sent to a user. If there is a valid email address to within an HTML email, Outlook will render it (normally helpfully) as a mailto: link. Unfortunately, that's not the desired behavior in the particular email I'm sending.
如何阻止 Outlook 执行此操作?
How do I stop Outlook from doing this?
推荐答案
Outlook 无法将此模式识别为电子邮件:@[text]@[text].[text]
Outlook doesn't recognize this pattern as an email:@[text]@[text].[text]
因此在电子邮件之前添加:
Thus adding before the email:
<a style="color: black; text-decoration: none"><font style="display: none">@</font>**email**</a>
和
<style>font {display: none}</style>
在 标签中将删除 mailto 链接.
in the <head>
tag will remove the mailto link.
这篇关于如何阻止 Outlook 将电子邮件地址呈现为 mailto: 链接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!