为公用文件夹启用或禁用邮件Mail-enable or mail-disable a public folder

公用文件夹专为共享访问设计,为收集、组织信息及与工作组或组织中的其他人共享信息提供了一种轻松、有效的方式。为公用文件夹启用邮件功能,可以让用户能够向公用文件夹发送电子邮件,从而向公用文件夹发布信息。如果公用文件夹已启用邮件功能,可以在 Exchange 管理中心 (EAC) 内为公用文件夹设定其他设置,如电子邮件地址和邮件配额。在 Exchange 命令行管理程序中,为公用文件夹启用邮件功能之前,可以使用 Set-PublicFolder cmdlet 管理它的所有设置。为公用文件夹启用邮件功能之后,需要使用 Set-PublicFolderSet-MailPublicFolder cmdlet 管理这些设置。Public folders are designed for shared access and provide an easy and effective way to collect, organize, and share information with other people in your workgroup or organization. Mail-enabling a public folder allows users to post to the public folder by sending an email message to it. When a public folder is mail-enabled additional settings become available for the public folder in the Exchange admin center (EAC), such as email addresses and mail quotas. In the Exchange Management Shell, before a public folder is mail-enabled, you use the Set-PublicFolder cmdlet to manage all of its settings. After the public folder is mail-enabled, you use the Set-PublicFolder and the Set-MailPublicFolder cmdlets to manage the settings.

如果希望 Internet 用户向启用了邮件功能的公用文件夹发送邮件,需要使用 Add-PublicFolderClientPermission cmdlet 设置其他权限。If you want users on the Internet to send mail to a mail-enabled public folder, you need to set addition permissions using the Add-PublicFolderClientPermission cmdlet.

有关与管理公用文件夹相关的其他管理任务,请参阅公用文件夹程序For additional management tasks related to managing public folders, see Public folder procedures.

开始前,有必要了解什么?What do you need to know before you begin?

提示

遇到问题?请访问以下 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.

使用 EAC 为公用文件夹启用或禁用邮件功能Use the EAC to mail-enable or mail-disable a public folder

  1. Navigate to Public folders > Public folders.Navigate to Public folders > Public folders.

  2. 在列表视图中,选择要启用或禁用邮件功能的公用文件夹。In the list view, select the public folder that you want to mail-enable or mail-disable.

  3. In the details pane, under Mail settings, click Enable or Disable.In the details pane, under Mail settings, click Enable or Disable.

  4. 将显示一个警告框,询问您是否确定要启用或禁用公用文件夹的电子邮件。A warning box displays asking if you're sure you want to enable or disable email for the public folder. Click Yes to continue.Click Yes to continue.

如果您希望外部用户向此公用文件夹发送邮件,请确保按照允许匿名用户向启用了邮件功能的公用文件夹发送电子邮件中的步骤操作。If you want external users to send mail to this public folder, make sure you follow the steps in Allow anonymous users to send email to a mail-enabled public folder.

使用 Exchange 命令行管理程序为公用文件夹启用邮件功能Use the Exchange Management Shell to mail-enable a public folder

本示例将为公用文件夹 Help Desk 启用邮件功能。This example mail-enables the public folder Help Desk.

Enable-MailPublicFolder -Identity "\Help Desk"

本示例将为 Marketing 公用文件夹下的 Reports 公用文件夹启用邮件功能,但在地址列表中隐藏该文件夹。This example mail-enables the public folder Reports under the Marketing public folder, but hides the folder from address lists.

Enable-MailPublicFolder -Identity "\Marketing\Reports" -HiddenFromAddressListsEnabled $True

如果您希望外部用户向此公用文件夹发送邮件,请确保按照允许匿名用户向启用了邮件功能的公用文件夹发送电子邮件中的步骤操作。If you want external users to send mail to this public folder, make sure you follow the steps in Allow anonymous users to send email to a mail-enabled public folder.

有关语法和参数的详细信息,请参阅 Enable-MailPublicFolderFor detailed syntax and parameter information, see Enable-MailPublicFolder.

使用 Exchange 命令行管理程序为公用文件夹禁用邮件功能Use the Exchange Management Shell to mail-disable a public folder

本示例将为公用文件夹 Marketing\Reports 禁用邮件。This example mail-disables the public folder Marketing\Reports.

Disable-MailPublicFolder -Identity "\Marketing\Reports"

有关语法和参数的详细信息,请参阅 Disable-MailPublicFolderFor detailed syntax and parameter information, see Disable-MailPublicFolder.

允许匿名用户向启用了邮件功能的公用文件夹发送电子邮件Allow anonymous users to send email to a mail-enabled public folder

可以使用 Outlook 或 Exchange 命令行管理程序设置公用文件夹匿名帐户的权限。不能使用 EAC 设置匿名帐户的权限。You can use either Outlook or the Exchange Management Shell to set permissions on a public folder's Anonymous account. You can't use the EAC to set permissions on the Anonymous account.

使用 Outlook 设置匿名帐户的权限Use Outlook to set permissions for the Anonymous account

  1. 使用已被授予启用了电子邮件功能的公用文件夹(您希望匿名用户向其发送邮件)的"所有者"权限的帐户打开 Outlook。Open Outlook using an account that's been granted Owner permissions on the email-enabled public folder you want anonymous users to send mail to.

  2. 导航到 公用文件夹 <user's name> -Navigate to Public folders - <user's name>.

  3. 导航到您想要更改的公用文件夹。Navigate to the public folder you want to change.

  4. Right-click on the public folder, click Properties and then select the Permissions tab.Right-click on the public folder, click Properties and then select the Permissions tab.

  5. Select the Anonymous account, select Create items under Write, and then click OK.Select the Anonymous account, select Create items under Write, and then click OK.

使用 Exchange 命令行管理程序设置匿名帐户的权限Use the Exchange Management Shell to set permissions for the Anonymous account

本示例为"客户反馈"已启用邮件的公用文件夹设置 CreateItems 匿名帐户的权限。This example sets the CreateItems permission for the Anonymous account on the "Customer Feedback" mail-enabled public folder.

Add-PublicFolderClientPermission "\Customer Feedback" -AccessRights CreateItems -User Anonymous

有关详细的语法和参数信息,请参阅Add-PublicFolderClientPermissionFor detailed syntax and parameter information, see Add-PublicFolderClientPermission.