Export Exchange Online sent e-mail message from SMTP transfer agent queue

Marco Pozzi 20 Reputation points
2023-04-20T07:23:52.9366667+00:00

Is it possible to export an e-mail message sent by an user from Exchange Online SMTP agent queue? I need the complete message with full headers. I am able to extract it from user mailbox but I don't get SMTP headers. The message has been externally delivered to another domain but I need to legally demonstrate that it has been modified after sending it. Another way could be a simple checksum/hash in Exchange logs but I didn't find anything like that. Thanks Marco

Exchange Online
Exchange Online
A Microsoft email and calendaring hosted service.
6,182 questions
{count} votes

Accepted answer
  1. Aholic Liang-MSFT 13,886 Reputation points Microsoft External Staff
    2023-04-26T06:44:05.85+00:00

    Hi @ Marco Pozzi

    As far as I know, under normal circumstances, we do not have permission to obtain or download SMTP server logs through the Exchange admin center or the M365 admin center.

    I recommend that you could open a support ticket to contact a back-end engineer for more detailed assistance:

    enter image description here


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Aholic Liang-MSFT 13,886 Reputation points Microsoft External Staff
    2023-04-21T07:14:25.7233333+00:00

    Hi @ Marco Pozzi

    The message headers of the emails can only be viewed from the recipient's inbox, and we can't get the details from our own Exchange Online.

    In my research and testing, in Exchange Online, we can only go through message trace to see if the email applied to a transport rule and modified the headers internally.

    Thank you for your understanding and patience!


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.