HTML邮件中的尴尬超链接生成 [英] Awkward hyperlink generation in HTML Mails

查看:398
本文介绍了HTML邮件中的尴尬超链接生成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在努力与我的电子邮件营销系统,我现在可以发送或多或少漂亮的HTML电子邮件在网络上,但现在我面临一些尴尬的问题在渲染 - 客户不断问我为什么在他们的通讯中有这么丑的链接,他们出现在哪里,他们在通讯文本中没有任何链接。



所以这里的坏人是一些精湛的技术兄弟如iOS或GMail,做自己的东西在呈现HTML邮件像oooh,这可能是一个电话号码,我把它标记为一个链接!而且..在标准邮件这是很好,但现在我想知道我可以杀死那个功能...



有没有任何元标记或其他可能性告诉这些人在我的通讯邮件中不这样做?



解决方案

在其周围包装一个空的href标签:

 < a href =style =color:#000001; text-decoration:none;>不是超链接< / a> 

(Gmail忽略链接中的#000000和#FFFFFF颜色,这就是为什么我有#000001) / p>

或者,您可以尝试伪装电话号码和地址,并在字号/数字之间使用& nbsp; 。如下所示:

 地址:123& nbsp;我的地址< br> 
手机:123& nbsp; 456& nbsp; 789


I'm struggling with my E-Mail Marketing System, i am able now to send more or less beautiful HTML E-Mails over the net but now i'm facing some awkward problems in the rendering - Customers keep asking me why there are so ugly links in their Newsletters and where they appears, they didn't have any links in the Newsletter Text.

So... the bad guys here are some superb technology brothers like iOS or GMail, doing their own stuff in rendering HTML-Mails like "oooh, that's probably a phone number, i mark thats as a link!" And.. yea.. in standard-mails this is nice but now i'm wondering how i can kill that functionality...

Are there any meta-tags or other possibilities to tell these guys to not do that in my newsletter-mails?

解决方案

Wrap an empty href tag around it:

<a href="" style="color: #000001; text-decoration: none;">Not a hyperlink</a>

(Gmail ignores #000000 and #FFFFFF colors in links, which is why I have #000001)

Alternatively you can try and disguise phone numbers and addresses with &nbsp; between the words/numbers. Something like this:

address: 123&nbsp;My&nbsp;Address<br>
phone: 123&nbsp;456&nbsp;789

这篇关于HTML邮件中的尴尬超链接生成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆