We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Extract EmailAddress


how i can extract Email-Address of Receiver and Transmitter ExchangeMessageInfo



Hi Amir,

Please see the following code sample for your kind reference. It gets the list of all messages from the inbox and writes the sender and receiver addresses from the ExchangeMessageInfo object.

Sample Code:

IEWSClient client = GetAsposeEWSClient1();

ExchangeMessageInfoCollection msgsColl = client.ListMessages("inbox");

foreach (ExchangeMessageInfo msgInfo in msgsColl)


Console.WriteLine("From: " + msgInfo.From);

Console.WriteLine("To: " + msgInfo.To);