您如何阻止电子邮件在FreeMarker中显示为链接? [英] How do you block emails from appearing as links in FreeMarker?

查看:138
本文介绍了您如何阻止电子邮件在FreeMarker中显示为链接?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在处理一些ftl模板,并且电子邮件地址通过链接传递,特别是在移动浏览器和Outlook中.

I'm working on some ftl templates and email addresses are coming through as links, specifically on mobile browsers and in Outlook.

有人知道如何阻止这种情况发生吗?

Anyone know how to block this from happening?

提前谢谢!

注意:我并不是将它们添加为链接,而只是电子邮件本身.

Note: I am not adding them as links, just the email itself.

推荐答案

这可能与Freemarker无关.您正在观察的问题取决于电子邮件客户端如何处理和显示电子邮件.一些客户只是尝试帮助",识别Web和电子邮件地址等,然后使它们链接.

This has most probably nothing to do with Freemarker. What you are observing is an issue depending on how e-mail clients handle and display e-mails. Some clients just try to "help", identifying web and e-mail addresses etc. and then making them links.

根据Mime类型,不同的邮件客户端使用不同的方式来处理/显示电子邮件.展望例如有时不会显示所有附件.发出在每个邮件客户端中都能很好显示的电子邮件是很简单的事情.

Depending on the Mime type, different mail clients have different ways handling/displaying e-mails. Outlook e.g. sometimes does not display all attachments. It is anything but trivial to send out e-mails that display well in every mail client out there.

This thread on sevenforums.com states that you can trigger hyperlink replacement on or off in the options:

  • 文件>选项>邮件>编辑器选项>自动更正选项>自动格式选项卡>替换>具有超链接的Internet和网络路径

这篇关于您如何阻止电子邮件在FreeMarker中显示为链接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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