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

Free Support Forum - aspose.com

ListMessages From Field isn't filled

We are using the IEWSClient Interface to connect to an Exchange Server 2016 and Exchange Server 2013.

In both cases if we use “ListMessages” and trying to populate a user grid to list all user e-mails, we can see that the “ExchangeMessageInfo” Class has no “From” filled.

We experienced it with the current version

I tested the old version which worked fine, however we upgraded to support Exchange 2016.

Hi Ralf,

Thank you for contacting Aspose support team.

I have tested different exchange accounts including Outlook office365 account and used ListMessages() function. It is observed that From field is populated properly with Aspose.Email for .NET 17.4.0. It is requested that some test account credentials may be provided temporarily for our testing here. It will help us to re-produce the scenario and provide assistance accordingly. Following sample code is used for testing.

static void Main(string[] args)<o:p></o:p>


License lic = new License();


IEWSClient client = GetExchangeEWSClient365();

var msgs = client.ListMessages();

foreach(var info in msgs)





private static IEWSClient GetExchangeEWSClient365()


const string mailboxUri = "https://outlook.office365.com/ews/exchange.asmx";

const string domain = @"";

const string username = @"username";

const string password = @"password";

NetworkCredential credentials = new NetworkCredential(username, password, domain);

IEWSClient client = EWSClient.GetEWSClient(mailboxUri, credentials);

return client;