The MailMessage.ReceivedDate
property represents the first "Received"
MIME header in the input message. If there are no "Received"
headers in the message, or if the header could not be parsed, the property returns null
.
Try saving the message into a file:
using (var output = File.Create("message.eml"))
{
stream.CopyTo(output);
}
Then, open the file using a text editor such as Notepad and check whether there are any "Received"
headers.