Hi Readers,
There can be a situation where you have to export message from the queue for analysis.
We had some situations where we had to do that , one was where we were getting below error for one message on transport server.
A message with the Internal Message ID 231753 was rejected by the remote server. This message will be deferred and retried because it was marked for retry if rejected. Other messages may also have encountered this error.
We have checked the server queue & found the message (right clicked & suspended it) –> can be done from command line as well.
After that we used the below shell command to export the message:
Get-Message | where{$_.subject -like “printing*”} | Export-Message | AssembleMessage c:\printing.eml
Now you can check the message & analyze it.
Tech Wizard
Indeed kindly do mention a cmdlet to suspend the message as well while doing this from shell otherwise one gets a error “The operation wasn’t performed on the message with identity XX. You must suspend the message first.”
I have mentioned that suspension of message is required..& mentioned how to do it from gui..I will add the shell method as well..