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

Free Support Forum - aspose.com

Exception using Pop3Client.ListMessages with empty subject

Dear Aspose-Team,

we are using the Pop3Client from the C# Aspose.Email library to read out all emails from a POP3 mailbox, which subject contain a specific substring (ListMessages(MailQuery query)-method). This works very well until the mailbox contains at least one email with an empty subject. In this case we unfortunately get an ArgumentNullException.
Here you can see the stacktrace of the exception:

Parametername: field
Type: System.ArgumentNullException
Source: Aspose.Email
Stack:
at  . . (String , String , String )
at  . .• (Pop3MessageInfo , XmlNode )
at  . . (Pop3MessageInfo , XmlNode )
at  . . (Pop3MessageInfo , MailQuery )
at  . .ˆ (MailQuery )
at Aspose.Email.Pop3.Pop3Client.ListMessages(MailQuery query)
at …

We would be very grateful if you could help us, because our customers cannot guarantee that all emails in their mailboxes have a subject.

Thank you in advance!

Best regards
Michael Brinkmann

Hi Michael,


Thank you for sharing your concern with us.

I was able to reproduce this issue at my end using the latest version of Aspose.Email for .NET 4.3.0 and have logged it as NETWORKNET-34431 in our bug tracking system for further investigation by our team. We’ll write back here once there is some information available in this regard and regret the inconvenience caused to you.

The issues you have found earlier (filed as NETWORKNET-34431) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.