为收件人配置自定义邮件提示Configure custom MailTips for recipients

邮件提示是用户在一边撰写电子邮件一边执行下列操作之一时在 Outlook Web App 和 Microsoft Outlook 2010 或更高版本的信息栏中看到的信息性消息:MailTips are informative messages displayed to users in the InfoBar in Outlook Web App and Microsoft Outlook 2010 or later when a user does any of the following while composing an e-mail message:

  • 添加收件人Add a recipient

  • 添加附件Add an attachment

  • 答复或全部答复Reply or Reply all

  • 从"草稿"文件夹中打开已添加收件人地址的邮件Open a message from the Drafts folder that's already addressed to recipients

除了可以使用内置邮件提示之外,您还可以创建适用于所有类型的收件人的自定义邮件提示。有关内置邮件提示的详细信息,请参阅邮件提示In addition to the built-in MailTips that are available, you can create custom MailTips for all types of recipients. For more information about the built-in MailTips, see MailTips.

在开始之前,您需要知道什么?What do you need to know before you begin?

  • 估计完成时间:10 分钟Estimated time to complete: 10 minutes

  • 您必须先获得权限,然后才能执行此过程或多个过程。若要查看所需的权限,请参阅 邮件流权限主题中的"邮件提示"条目。You need to be assigned permissions before you can perform this procedure or procedures. To see what permissions you need, see the "MailTips" entry in the Mail flow permissions topic.

  • 您可以在 Exchange 管理中心 (EAC) 或命令行管理程序中配置主要的邮件提示。不过,您只能在命令行管理程序中配置其他邮件提示转换。You can configure the primary MailTip in the Exchange admin center (EAC) or in the Shell. However, you can only configure additional MailTip translations in the Shell.

  • 当您向收件人添加邮件提示时,会发生两件事:When you add a MailTip to a recipient, two things happen:

    • HTML 标记会自动添加到文本中。例如,如果您输入以下文本: This mailbox is not monitored,那么邮件提示会自动变为: <html><body>This mailbox is not monitored</body></html>。不支持邮件提示中的其他 HTML 标记。HTML tags are automatically added to the text. For example, if you enter the text: This mailbox is not monitored, the MailTip automatically becomes: <html><body>This mailbox is not monitored</body></html>. Additional HTML tags in the MailTip aren't supported.

    • 此文本会作为默认值自动添加到收件人的 MailTipTranslations 属性中。如果您修改邮件提示文本,那么默认值会在 MailTipTranslations 属性中自动更新。The text is automatically added to the MailTipTranslations property of the recipient as the default value. If you modify the MailTip text, the default value is automatically updated in the MailTipTranslations property.

  • 邮件提示的长度不得超过 175 个显示字符。The length of a MailTip can't exceed 175 displayed characters.

  • 若要了解可能适用于此主题中过程的键盘快捷键,请参阅 Exchange 管理中心内的键盘快捷键For information about keyboard shortcuts that may apply to the procedures in this topic, see Keyboard shortcuts in the Exchange admin center.

提示

遇到问题了吗?请在 Exchange 论坛中寻求帮助。 请访问以下论坛:Exchange ServerExchange OnlineExchange Online ProtectionHaving problems? Ask for help in the Exchange forums. Visit the forums at Exchange Server,Exchange Online, or Exchange Online Protection.

要执行什么操作?What do you want to do?

配置收件人的邮件提示Configure MailTips for recipients

使用 EAC 配置收件人的邮件提示Use the EAC to configure MailTips for recipients

  1. 在 EAC 中,导航到的收件人In the EAC, navigate to Recipients.

  2. 根据收件人类型,选择下列收件人选项卡之一:Select any of the following recipient tabs based on the recipient type:

    • 邮箱Mailboxes

    • Groups

    • 资源Resources

    • 联系人Contacts

    • SharedShared

  3. 在收件人选项卡上,选择您想要修改的收件人,然后单击编辑编辑图标On the recipient tab, select the recipient you want to modify, and click EditEdit icon.

  4. 在出现的收件人属性页面上,单击邮件提示In the recipient properties page that appears, click MailTips.

  5. 为邮件提示输入的文本。完成后,单击保存Enter the text for the MailTip. When you are finished, click Save.

使用命令行管理程序配置收件人的邮件提示Use the Shell to configure MailTips for recipients

若要配置收件人的邮件提示,请使用下列语法:To configure a MailTip for a recipient, use the following syntax.

Set-<RecipientType> <RecipientIdentity> -MailTip "<MailTip text>"

<RecipientType> 可以指定任何类型的收件人。例如, MailboxMailUserMailContactDistributionGroupDynamicDistributionGroup<RecipientType> can be any type of recipient. For example, Mailbox, MailUser, MailContact, DistributionGroup, or DynamicDistributionGroup.

例如,假设您拥有一个名为"技术支持"的邮箱,以供用户提交支持请求,且承诺的响应时间为两个小时。若要配置一个用于说明此情况的自定义邮件提示,请运行以下命令:For example, suppose you have a mailbox named "Help Desk" for users to submit support requests, and the promised response time is two hours. To configure a custom MailTip that explains this, run the following command:

Set-Mailbox "Help Desk" -MailTip "A Help Desk representative will contact you within 2 hours."

使用命令行管理程序配置语言不同的其他邮件提示Use the Shell to configure additional MailTips in different languages

若要配置其他邮件提示转换,但不影响现有的邮件提示文本或其他现有的邮件提示转换,请使用下列语法:To configure additional MailTip translations without affecting the existing MailTip text or other existing MailTip translations, use the following syntax:

Set-<RecipientType> -MailTipTranslations @{Add="<culture1>:<localized text 1>","<culture2>:<localized text 2>"...; Remove="<culture1>:<localized text 1>","<culture2>:<localized text 2>"...}

<culture> 是一个与语言相关联的有效 ISO 639 双字母区域性代码。<culture> is a valid ISO 639 two-letter culture code associated with the language.

例如,假设名为"通知"的邮箱当前拥有以下邮件提示:"该邮箱未受监视。"若要添加西班牙语翻译,请运行以下命令:For example, suppose the mailbox named Notifications currently has the MailTip: "This mailbox is not monitored." To add the Spanish translation, run the following command:

Set-Mailbox -MailTipTranslations @{Add="ES:Esta caja no se supervisa."}

您如何知道操作成功?How do you know this worked?

若要验证是否成功配置了收件人的邮件提示,请执行下列操作:To verify that you have successfully configured a MailTip for a recipient, do the following:

  1. 在 Outlook Web App 或 Outlook 2010 或更高版本中,撰写已添加收件人地址的电子邮件,但不要发送。In Outlook Web App or Outlook 2010 or later, compose an email message addressed to the recipient, but don't send it.

  2. 验证信息栏中是否显示邮件提示。Verify the MailTip appears in the InfoBar.

  3. 如果您配置了其他邮件提示转换,在语言设置与邮件提示转换的语言一致的 Outlook Web App 中撰写邮件,以验证结果。If you configured additional MailTip translations, compose the message in Outlook Web App where the language setting matches the language of the MailTip translation to verify the results.