Exchange - Msg-Format and RTF

Hello.

We are evaluating Aspose.Networks 3.5.0 to access our mailboxes on an Exchange Server. We have discovered that the api doesn´t return Report Mails. Report Mails are bounce messages like Undeliverable (DNS) and are in RTF format.

This is the code we are using:

Aspose.Network.Exchange.ExchangeClient client = new ExchangeClient(server, user, pwd);
ExchangeMailboxInfo mailboxInfo = client.GetMailboxInfo();
ExchangeMessageInfoCollection messages = client.ListMessages(mailboxInfo.InboxUri,true);



All other messages are retrieved correctly. Because we are working on a bounce managment system this is an essential point for us. We can provide example mails for testing.

Maybe someone has experiences in this area and can give us some hints. Thank you for helping me.

Hi, guan80,

Could you provide me an account for the debugging? It looks like a bug.

Please send email to me if you can share an account for the problemshotting. Guangzhou#aspose.com

Our developer team is looking the root. We will fix it and turn to you shortly.

Thanks

Dear guan80,

Could you please try the attached dll? Let me know if it works.

Thanks

Hallo.

Thank you for the quick fix. I´ve tried the dll but it doesn´t work. Using this dll I cannot access the mailbox anymore. The method “ExchangeClient.ListMessages” throws an exception, saying “the remote server has returned: 400 invalid request”.


the remoteserver has returned an error: (400) invalid request
bei Aspose.Network.Exchange.ExchangeClient.x02b56011810c316c(String x8b5b49ef
cd08ae0a, String x196c05a09a123da6)
bei Aspose.Network.Exchange.ExchangeClient.ListMessages(String folder, Boolea
n recursive)
bei Aspose.Network.Exchange.ExchangeClient.ListMessages(String folder)


Regarding your request to access our exchange servers I´ve to say, there is no way to do this, because the security policy in our company is very restrictive.

best regards
Andre

Thanks andre,

We are still on the way to find the root. Get back to you if we fix.

Hi,

Could you help to try this beta? I add a new function named ListMessage2. which use a different Exchange query.

[http://www.aspose.com/products/aspose.network/rc/Aspose.Network3-5-4.zip](https://forum.aspose.com/products/aspose.network/rc/Aspose.Network3-5-4.zip)

Thanks,

Hi,

I´ve tried your fix but it doesn´t work. The remote server throws and error stating “400 bad request”.

Unfortunately I´m no exchange expert. Do you need some informations from us (like exchange version number) or do we have to configure something?

Andre

Hi, Andre,

Could you send me a sample of the message (the report message)that you want to list ? Please use your Outlook to save the message to .MSG format. Since you cannot provide me a live debugging environment.

Please send me the .Msg file to mailbox guangzhou#aspose.com, or just attach it to this post.

Thanks for your patience.

Hello.

Enclosed an example of a report email.

I don´t know, if it helps, but this message class causes the problem: REPORT.IPM.Note.NDR

Andre


Hello.

News on this issue? Can we expect a fix addressing this problem?

Thank you.
Andre

Hi, Andre,

Please try the attached dll as following:

ListMessage(Inbox, "urn:content-classes:dsn", true);

Let me know if it works.

Thank you very much.

Hi,

Great, it works. Thank you.

Is this an official release? If not, this functionality will be included in the next release?

Andre

Yes, you can use it as an official release. We will keep that interface compatible even in the coming release.

Thanks,