Custom Message Id is replaced by outlook itself RRS feed

  • Question

  • Hi,

    When sending a message with "Message-ID" header with the format "<randomstring@domain.com>", the outlook server replaces the Message-ID with its own value and the original id is being copied to "x-microsoft-original-message-id" header.

    I have been using java mail client to send the messages and I am using my personal outlook account.

    Can you please tell me ,how do I prevent the exchange server from replacing the Message-ID header? 

    NOTE: This works fine with Gmail sever. When the Message-ID header is specified in the above mentioned RFC format, the Gmail server doesn't override the Message-ID.

    This is urgent 

    Monday, September 21, 2020 6:33 AM