Hello Team,
I need to get message’s receive date from message.Header[“Recieved”]. Is there a way or any method to parse the date.
I have observed your requirements and request you to please try using following sample code to get the receive date.
String dateReceived = msg.Headers["Date"];
DateTime parsedDate = DateTime.Parse(dateReceived);