locked
How to add record to message tracking log from transport agent RRS feed

  • Question

  • Hi,

    I'm writing custom transport agent that is registered with OnSubmittedMessage event.

    Now I am searching for a way to add record to the message tracking log with some custom information so that it is listed in the output of Get-MessageTrackingLog cmdlet.

    The following MSDN article defines AGENTINFO value of EventId field of message tracking log record in the following way: This event is used by transport agents to log custom data.

    So, there should be a way to add record to the message tracking log.

    Is there API that allows to do it?

    Oleksii

    Saturday, June 17, 2017 10:34 AM