| Dart Home | PowerTCP Mail for .NET | Custom Development | Reply | PowerTCP Mail for .NET Topics | Forums |
| Author | Forum: PowerTCP Mail for .NET Topic: Exception reading ImapMessage.Message for SOME messages |
| scuba747 From: Vancouver, BC Canada Posts: 5 Member Since: 06/06/07 |
posted February 5, 2009 2:21 PM We're using the most recent version of the PowerTCP Mail control and one of our clients is reporting a problem reading certain emails via IMAP in his mailbox. We've reproduced the problem on our end... The problem was originally reported that Microsoft Exchange 2007 "Undeliverable Messages" (i.e. system messages) were not working, but we've also reproduced the problem with some non-system messages and also on Gmail. I'm not sure what the source of the problem is, but I can show the error in just a few lines of code... We're dealing with a very small number of messages in the folder. ImapMessage[] list = imap.CurrentMailbox.Search(criteria); foreach (ImapMessage imsg in list) { // Everything is as expected at this point. // Pretty boring, but as expected. :) MessageStream message = imsg.Message; } // Now we get a little more information... imap.CurrentMailbox.Get(list, ImapMessageSections.Header| ImapMessageSections.Uid | ImapMessageSections.Flags | ImapMessageSections.Size | ImapMessageSections.BodyStructure); foreach (ImapMessage imsg in list) { // Referencing the Message property of offending // messages will throw an exception. MessageStream message = imsg.Message; } I'd be happy to provide an MSG file to show the problem in Exchange 2007 or provide access to a GMail account with problem emails as well if that would help... |
| Jason Farrar (Admin) From: Oneida, NY USA Posts: 223 Member Since: 07/24/07 Extra Support Options Custom Application Development |
posted February 23, 2009 10:21 AM For completeness this was handled via E-mail and reported as issue #4989. |
| Reply | PowerTCP Mail for .NET Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|