Поделиться через


�������� MAPI

Область применения: Outlook 2013 | Outlook 2016

��������� ���������� ��������� ��������� �������������� �������� ��� ����� � ����������� ��������� ���������� � ���� ������, ������� OLE, ��������� ��� �������� ������. ��� �������������� ��������, ���������� �������� ���������. ��� ��� �������� ���������, ������������ � �������� ������ ����� ���� ���������, ��� ��������������� ��������� ���������. ������ ����, ������������� ������ ��� �������, �������� ����� ���������������� �����, ��������� ��� ����� ��������. ��� ����� ���������� ���������� �������� � ���������, �� �� ����������� � ��������� ���������. ��� ������ ��������� ����� ��������� ��������� �������� � ���������� ������� ��������. Номера вложений действительны только при открытии сообщения и хранятся в свойстве PR_ATTACH_NUM (PidTagAttachNumber).

��� ������� � ������� ���������� ��� ���� �������� ���������, ������� �������� ��� �������� � �������. � ������� �������� �������� ��������, ������� ������� ����� ������������ ��� ������� � �������� ��������, ����� ��� ���� ����� �������� � ���� ������. ������� ����� ��������� ������� �������� �:

Message store providers are expected to support both of these approaches. Подход OpenProperty требует, чтобы вызывающий объект указал IID_IMAPITable в качестве идентификатора интерфейса и PR_MESSAGE_ATTACHMENTS (PidTagMessageAttachments) в качестве тега свойства. PR_MESSAGE_ATTACHMENTS is a table object property that represents a message's attachment table. Message store providers are required to set PR_MESSAGE_ATTACHMENTS for each message and include it in the array of property tags returned from the IMAPIProp::GetPropList method. For more information, see IMAPIProp::GetPropList.

����� ������������ PR_MESSAGE_ATTACHMENTS:

  • � ������� IMAPIProp::OpenProperty ��� ������� � �������� ��� ���������� �������.

  • With IMAPIProp::CopyTo or IMAPIProp::CopyProps to exclude or include attachments when copying. For more information, see IMAPIProp::CopyTo and IMAPIProp::CopyProps.

  • � �������� ����������� ��������� �������, ����� �������, ��� ����������� �������� ������� ��������� � ��������.

For more information, see ������� ��������.