使用郵件流程規則會自動將會議新增至 Exchange Online 中的行事曆Use mail flow rules to automatically add meetings to calendars in Exchange Online

使用行事曆直接功能在 Exchange Online、 系統管理員可以設定允許將會議新增至行事曆的指定的使用者的郵件流程規則 (也稱為傳輸規則)。直接行事曆的優點是:With the Direct to Calendar feature in Exchange Online, administrators can configure mail flow rules (also known as transport rules) that allow designated users to add meetings to calendars. The benefits of Direct to Calendar are:

  • 從其自動事件新增至收件者的行事曆無須執行任何動作。如果使用者已收到會議邀請,最好是在其行事曆。The event is automatically added to the recipient's calendar without any action from them. If the user received the meeting invitation, it's on their calendar.

  • 不需要處理不在辦公室或所得傳送給收件者的大量的會議邀請其他不想要的回應郵件寄件者。The sender doesn't need to deal with Out of Office or other unwanted response messages that result from sending meeting invitations to a large number of recipients.

  • 除非會議取消任何與會議相關訊息是由出席者看起來不有。No meeting-related messages are seen by attendees unless the meeting is cancelled.

行事曆的直接需要兩個特定條件和動作的郵件流程規則。下表說明這些規則:Direct to Calendar requires two mail flow rules with specific conditions and actions. These rules are described in the following table:


規則說明Rule description 條件Condition 動作Action 註解Comments
此郵件流程規則會直接將行事曆會議邀請的一般的會議邀請。This mail flow rule turns regular meeting invitations into Direct to Calendar meeting invitations.
寄件者寄件者 > 此人從_參數)。The sender is or The sender > is this person (the _From parameter).
此條件會識別已授權可將直接傳送至行事曆之會議邀請的使用者。雖然您可以使用其他條件,限制由寄件者邀請協助防止未授權的直接使用行事曆會議邀請。This condition identifies the users who are authorized to send Direct to Calendar meeting invitations. Although you can use other conditions, restricting the invitations by sender helps prevent unauthorized use of Direct to Calendar meeting invitations.
設定此值的郵件標頭修改訊息屬性 > 設定郵件標頭為 SetHeaderName_和_SetHeaderValue_參數)。Set the message header to this value or Modify the message properties > set a message header (the _SetHeaderName and SetHeaderValue parameters).
此巨集指令將X-MS-Exchange-Organization-CalendarBooking-Response標頭設定的值Accept。其他的有效值為TentativeDeclineThis action sets the X-MS-Exchange-Organization-CalendarBooking-Response header to the value Accept. Other valid values are Tentative and Decline.
建議您使用專用的信箱 (共用的信箱的 [確定]) 的直接傳送至行事曆之會議邀請,因為這些寄件者的任何會議邀請將會自動新增至 [收件者的行事曆。We recommend that you use dedicated mailboxes (shared mailboxes are OK) for sending Direct to Calendar meeting invitations, because any meeting invitations from these senders will be automatically added to recipient calendars.
專用的信箱需要直接傳送行事曆之會議邀請給沒有特殊權限。The dedicated mailboxes require no special permissions to send Direct to Calendar meeting invitations.
此郵件流程規則會防止直接行事曆會議邀請出現收件匣的收件者。This mail flow rule prevents Direct to Calendar meeting invitations from appearing in the Inbox of recipients.
寄件者寄件者 > 此人從_參數)。The sender is or The sender > is this person (the _From parameter).
設定此值的郵件標頭修改訊息屬性 > 設定郵件標頭為 SetHeaderName_和_SetHeaderValue_參數)。Set the message header to this value or Modify the message properties > set a message header (the _SetHeaderName and SetHeaderValue parameters).
此巨集指令將X-MS-Exchange-Organization-CalendarBooking-TriageAction標頭設定的值MoveToDeletedItems。有效的值是NoneThis action sets the X-MS-Exchange-Organization-CalendarBooking-TriageAction header to the value MoveToDeletedItems. The other valid value is None.
嚴格來說,此規則是選用的步驟 (沒有,會議仍會自動新增至收件者的行事曆)。Technically, this rule is optional (without it, meetings are still automatically added to recipient calendars).
請注意,不會防止此規則的會議取消郵件直接的行事曆的會議中出現收件匣的收件者。Note that this rule doesn't prevent meeting cancellation messages for Direct to Calendar meetings from appearing in the Inbox of recipients.

如需郵件流程規則的詳細資訊,請參閱[Mail flow 規則 (傳輸規則) 在 Exchange OnlineFor more information about mail flow rules, see Mail flow rules (transport rules) in Exchange Online.

開始之前有哪些須知?What do you need to know before you begin?

  • 預估完成時間:10 分鐘Estimated time to complete: 10 minutes

  • 您必須獲得權限才能執行此程序或程序。若您需要哪些權限,請參閱功能 Exchange Online 中的權限主題中的 「 郵件流程 」 項目。You need to be assigned permissions before you can perform this procedure or procedures. To see what permissions you need, see the "Mail flow" entry in the Feature permissions in Exchange Online topic.

  • 將直接傳送至行事曆之會議邀請的指定的帳戶必須存在。The designated accounts for sending Direct to Calendar meeting invitations need to exist.

  • 如需開啟和使用 Exchange 系統管理中心 (EAC) 的詳細資訊,請參閱Exchange admin 中心在 Exchange OnlineFor more information about opening and using the Exchange admin center (EAC), see Exchange admin center in Exchange Online.

  • 若要了解如何使用 Windows PowerShell 來連接至 Exchange Online,請參閱 Connect to Exchange Online Using Remote PowerShellTo learn how to use Windows PowerShell to connect to Exchange Online, see Connect to Exchange Online PowerShell.

  • 如需適用於此主題中程序的快速鍵相關資訊,請參閱 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 Protection論壇。Having problems? Ask for help in the Exchange forums. Visit the forums at Exchange Server,Exchange Online, or Exchange Online Protection.

若要為行事曆郵件流程規則建立直接使用 Exchange 系統管理中心Use the Exchange admin center to create Direct to Calendar mail flow rules

  1. 開啟 EAC 並移至 [郵件流程 > 規則Open the EAC and go to Mail flow > rules.

  2. 按一下 新增,然後選取 [建立新的規則Click New ( Add Icon), and then select Create a new rule.

  3. 在開啟 [新增規則] 頁面,按一下 [更多選項]In the New rule page that opens, click More options.

    在新的 [郵件流程規則] 視窗中,按一下 [更多選項]。

  4. 在 [新增規則] 頁面上進行這些額外的設定:Configure these additional settings on the New rule page:

    • 名稱行事曆回應的直接 (或任何描述性)。Name Direct to Calendar response (or anything descriptive).

    • 如果,套用此規則> 寄件者 > 是此人選取一或多個使用者直接傳送至行事曆之會議邀請。Apply this rule if > The sender > is this person Select one or more users to send Direct to Calendar meeting invitations.

    • 執行下列動作> 修改訊息屬性 > 設定郵件標頭輸入下列值:Do the following > Modify the message properties > set a message header Enter the following values:

    • 設定郵件標頭X-MS-Exchange-Organization-CalendarBooking-ResponseSet the message header X-MS-Exchange-Organization-CalendarBooking-Response

    • Acceptto the value Accept

      完成作業後,按一下 [儲存]。When you're finished, click Save.

      導向至行事曆擷取郵件流程規則的設定。

  5. 回在郵件流程 > 規則,按一下 新增 一次,然後選取 [建立新的規則Back at Mail flow > rules, click New ( Add Icon) again, and then select Create a new rule.

  6. 在開啟 [新增規則] 頁面,按一下 [更多選項]In the New rule page that opens, click More options.

    在新的 [郵件流程規則] 視窗中,按一下 [更多選項]。

  7. 在 [新增規則] 頁面上進行這些額外的設定:Configure these additional settings on the New rule page:

    • 名稱行事曆分辨巨集指令的直接 (或任何描述性)。Name Direct to Calendar triage action (or anything descriptive).

    • 如果,套用此規則> 寄件者 > 是此人選取如步驟 3 所示的相同使用者。Apply this rule if > The sender > is this person Select the same users as in step 3.

    • 執行下列動作> 修改訊息屬性 > 設定郵件標頭輸入下列值:Do the following > Modify the message properties > set a message header Enter the following values:

    • 設定郵件標頭X-MS-Exchange-Organization-CalendarBooking-TriageActionSet the message header X-MS-Exchange-Organization-CalendarBooking-TriageAction

    • MoveToDeletedItemsto the value MoveToDeletedItems

      完成作業後,按一下 [儲存]。When you're finished, click Save.

      導向至行事曆分級動作郵件流程規則的設定。

使用 Exchange Online PowerShell 建立直接行事曆郵件流程規則Use Exchange Online PowerShell to create Direct to Calendar mail flow rules

  1. 若要建立會直接將行事曆會議邀請的一般的會議邀請的郵件流程規則,請使用下列語法:To create the mail flow rule that turns regular meeting invitations into Direct to Calendar meeting invitations, use the following syntax:

    New-TransportRule -Name "Direct to Calendar response" -From "<designated sender 1>","<designated sender 2>"... -SetHeaderName "X-MS-Exchange-Organization-CalendarBooking-Response" -SetHeaderValue Accept
    

    此範例會使用名為直接行事曆邀請專用的信箱的規則。This example configures the rule using the dedicated mailbox named Direct to Calendar invites.

    New-TransportRule -Name "Direct to Calendar response" -From "Direct to Calendar invites" -SetHeaderName "X-MS-Exchange-Organization-CalendarBooking-Response" -SetHeaderValue Accept
    
  2. 若要建立禁止直接行事曆會議邀請出現收件匣的收件者的郵件流程規則,請使用下列語法:To create the mail flow rule that prevents Direct to Calendar meeting invitations from appearing in the Inbox of recipients, use the following syntax:

    New-TransportRule -Name "Direct to Calendar triage action" -From "<designated sender 1>","<designated sender 2>"... -SetHeaderName "X-MS-Exchange-Organization-CalendarBooking-TriageAction -SetHeaderValue MoveToDeletedItems
    

    此範例會使用名為直接行事曆邀請專用的信箱的規則。This example configures the rule using the dedicated mailbox named Direct to Calendar invites.

    New-TransportRule -Name "Direct to Calendar triage action" -From "Direct to Calendar invites" -SetHeaderName "X-MS-Exchange-Organization-CalendarBooking-TriageAction" -SetHeaderValue MoveToDeletedItems
    

如需詳細的語法及參數資訊,請參閱 New-TransportRuleFor detailed syntax and parameter information, see New-TransportRule.

如何知道這是否正常運作?How do you know this worked?

若要確認您已成功設定直接行事曆會議邀請,使用指定的寄件者信箱傳送會議邀請給少數幾個收件者的測試。驗證會議自動出現在行事曆的收件者,並確認有任何與會議相關訊息收件匣 (第二個規則應自動這些將郵件移至 [刪除的郵件] 資料夾)。To verify that you have successfully configured Direct to Calendar meeting invitations, use the designated sender mailbox to send a test meeting invitation to a small number of recipients. Verify that the meeting automatically appears in the calendars of the recipients, and verify there are no meeting-related messages in the Inbox (the second rule should automatically move these messages to the Deleted Items folder).

其他資訊More information

  • 指定寄件者信箱會收到會議行事曆會議直接接受回覆。使用下列策略來協助減少這些訊息上指定的寄件者的影響:The designated sender mailbox will receive meeting acceptance responses to Direct to Calendar meetings. Use the following strategies to help minimize the impact of these messages on the designated sender:

    • 在 Outlook 中,啟用更新追蹤資訊,並再刪除的回應,不含註解更新後追蹤資訊,移至的回條<刪除項目>信箱中的設定> 追蹤指定寄件者信箱。如需詳細資訊,請參閱變更會議邀請、 投票及讀取或傳送回條的處理方式In Outlook, enable the Update tracking information, and then delete responses that don't contain comments and After updating tracking information, move receipt to <Deleted Items> settings in Mail > Tracking for the designated sender mailbox. For more information, see Change how meeting requests, polls, and read or delivery receipts are processed.

    • 清除 [直接在行事曆之會議邀請]要求的回應設定不會防止從回復到指定的寄件者信箱傳送的回覆。Clearing the Request Responses setting in Direct to Calendar meeting invitations doesn't prevent responses from being sent back to the designated sender mailbox.

  • 如果指定的信箱傳送行事曆會議的直接代表會議取消、 取消的會議標題一律會變更為已取消:<舊的會議標題>,並取消的會議仍會保留在的行事曆除非它們手動移除出席者。If the designated mailbox sends a meeting cancellation for a Direct to Calendar meeting, the cancelled meeting title is always changed to CANCELED: <previous meeting title>, and the cancelled meeting remains in the calendars of attendees until they manually remove it.

  • 會議取消通知郵件的直接會議一定會出現收件匣的收件者的行事曆。Meeting cancellation messages for Direct to Calendar meetings will always appear in the Inbox of recipients.