简体   繁体   English

在href mailto链接中嵌入变量

[英]Embed Variable in href mailto link

Good day, 美好的一天,

We are currently making use of Mimecast to tag stationary on the outgoing emails. 目前,我们正在使用Mimecast标记外发电子邮件中的固定内容。 In Mimecast you can sync attributes from Active Directory for use in personalized email signatures, etc. I am currently trying to configure a mailto link that uses the "Display Name" attribute in the link, to add the senders name to the subject of the email. 在Mimecast中,您可以同步Active Directory中的属性以用于个性化电子邮件签名等。我目前正在尝试配置一个mailto链接,该链接使用链接中的“显示名称”属性,以将发件人名称添加到电子邮件的主题中。 。

However I cannot get to work. 但是我不能上班。 Also in the Mimecast HTML editor no var variables can be passed as it only allows basic HTML. 同样,在Mimecast HTML编辑器中,不能传递任何var变量,因为它只允许基本HTML。

The Mimecast attribute for display name is pulled with the following piece of code... 使用以下代码段提取显示名称的Mimecast属性:

<mc type="variable" source="from" attribute="displayName">

This needs to replace "FirstName%20LastName" in the code below. 这需要在下面的代码中替换“ FirstName%20LastName”。

<a   href="mailto:recipient@company.com?subject=FirstName%20LastName%20-%20Exceeded%20Expectations" target="_blank"><mc type="clickimage" code="imagebottomleft"></a>

Kind regards, 亲切的问候,

Renier 雷尼尔

我看了一下规范(RFC2368) ,似乎该功能不存在。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM