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


IMAPISupport::DoSentMail

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

������������ ������������ ���������.

HRESULT DoSentMail(
  ULONG ulFlags,
  LPMESSAGE lpMessage
);

Параметры

ulFlags

[in] ���������������; ������ ���� ����� ����.

lpMessage

[in] ��������� �� ��������� ���������, ��� �������� ����� ������ ��������� � �����, ��������������� ��� �������� ������������ ���������.

Возвращаемое значение

S_OK

����� ������� � ������ ��������� ��������� ��� ��������.

Замечания

The IMAPISupport::DoSentMail method is implemented for message store provider support objects. Message store providers call DoSentMail from their implementation of the IMsgStore::FinishedMsg method, which is called by the MAPI spooler when it has finished processing a message. FinishedMsg unlocks the message, ensures that the message's reference count is 1, and calls DoSentMail.

DoSentMail ��������� ��������� ������:

  • Проверяет сообщение на наличие свойства PR_DELETE_AFTER_SUBMIT (PidTagDeleteAfterSubmit), чтобы определить, следует ли удалить сообщение после отправки.

  • ���������� ������������ ����� �������������.

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

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

  • ����������� ���������.

См. также

IMsgStore::FinishedMsg

������������ �������� PidTagDeleteAfterSubmit

IMAPISupport: IUnknown