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:
at . . (String , String , String )
at . .• (Pop3MessageInfo , XmlNode )
at . . (Pop3MessageInfo , XmlNode )
at . . (Pop3MessageInfo , MailQuery )
at . .ˆ (MailQuery )
at Aspose.Email.Pop3.Pop3Client.ListMessages(MailQuery query)
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!