none
internetMessageId and Message id from headers returns blank

    Question

  • Hello  everyone,

    I am using  https://outlook.office.com/api/v2.0 for retrieving mail detail, my select query is as follows

     $search = array (
            // Only return selected fields
            "\$select" => "Subject,ReceivedDateTime,Sender,From,ToRecipients,BodyPreview,internetMessageId,InternetMessageHeaders
            // Sort by ReceivedDateTime, newest first
            "\$orderby" => "ReceivedDateTime DESC",
            // Return at most n results
            "\$top" => $top, "\$skip" => $skip
        );
    

    It gives me all information except internetMessageId, internetMessageId gives blank value, so how can i get it

    Please help me

    Friday, May 04, 2018 3:32 AM