メッセージの送信: トランスポート プロバイダー タスク

適用対象: Outlook 2013 | Outlook 2016

�g�����X�|�[�g �v���o�C�_�[�A���b�Z�[�W�𑗐M����ɂ�

  • トランスポート プロバイダーがメッセージを送信したか、メッセージを送信しようとした後に、メッセージの PR_RESPONSIBILITY (PidTagResponsibility) プロパティを TRUE に設定します。 If an attempt to send a message fails, transport providers should call IMAPISupport::StatusRecips to generate a nondelivery report. メッセージが正常に送信され 、PR_ORIGINATOR_DELIVERY_REPORT_REQUESTED (PidTagOriginatorDeliveryReportRequested) プロパティが TRUE に設定されている場合は、成功した受信者を含む ADRLIST 構造体を作成し、それぞれの PR_DELIVER_TIME (PidTagDeliverTime) プロパティを設定し、 StatusRecips を呼び出して配信レポートを生成します。 For more information about creating delivery and non-delivery reports, see the following topics: MAPI Report Messages, Required Report Message Properties, Optional Report Message Properties, and Sending Message Delivery Reports.

  • メッセージの プロパティのPR_SENDER グループを、ログオンしているユーザーの ID に設定します。 このグループには、 PR_SENDER_ENTRYID (PidTagSenderEntryId)、 PR_SENDER_NAME (PidTagSenderName)、 PR_SENDER_SEARCH_KEY (PidTagSenderSearchKey)、 PR_SENDER_ADDRTYPE (PidTagSenderAddressType)、 PR_SENDER_EMAIL_ADDRESS (PidTagSenderEmailAddress) が含まれます。

  • メッセージの PR_SENT_REPRESENTING プロパティ (可能な場合) を、ログオンしているユーザーの ID または有効なデリゲート ID に設定します。 PR_SENT_REPRESENTING プロパティは、別のユーザーに代わって 1 人のユーザーによるメッセージの送信を実装するために使用されます。 これらのプロパティをサポートしていないトランスポート プロバイダーは、送信メッセージでは無視する必要があります。

  • クライアントが IMessage::SubmitMessage と呼ばれるタイミングを示すように、メッセージのPR_CLIENT_SUBMIT_TIME (PidTagClientSubmitTime) プロパティを設定します。

  • メッセージの PR_PROVIDER_SUBMIT_TIME (PidTagProviderSubmitTime) プロパティを設定して、メッセージ ストア プロバイダーがメッセージを送信済みとしてマークした日時を示します。

���܂��܂ȃ��b�Z�[�W���O �V�X�e��������‚��̎�M�҂Ƀ��b�Z�[�W�����M�����ƁA���M���ꂽ�e�R�s�[�ɂ́A���܂��܂ȑ��M�� id ������܂��B

The transport provider or tightly coupled message store and transport is also responsible for setting originator and reply-to information. Originator information is stored in the PR_ORIGINATOR properties and reply-to information is stored in the PR_REPLY properties. The client can set these properties; however, the transport provider is allowed to ignore and overwrite the client's settings.