Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET IMAP

 AfterLogic Forum : MailBee.NET IMAP
Subject Topic: Error when calling DownloadEntireMessage Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
networkats
Newbie
Newbie


Joined: 25 September 2006
Online Status: Offline
Posts: 2
Posted: 25 September 2006 at 3:55pm | IP Logged Quote networkats

The server has responded with negative reply. The server responded: MBN00000005 NO The specified message set is invalid..

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: MailBee.ImapMail.MailBeeImapNegativeResponseException: The server has responded with negative reply. The server responded: MBN00000005 NO The specified message set is invalid..

Any help would be appreciated!
Back to Top View networkats's Profile Search for other posts by networkats
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 26 September 2006 at 6:54am | IP Logged Quote Andrew

This server response means your application requested index or UID of non-existent message to download and mail server can't find such message. Please make sure the message with such index or UID exists in the mailbox.
Back to Top View Andrew's Profile Search for other posts by Andrew
 
mlota
Newbie
Newbie


Joined: 21 November 2006
Location: Brazil
Online Status: Offline
Posts: 2
Posted: 21 November 2006 at 1:34pm | IP Logged Quote mlota

I have the same problem.

My webservice (C#) need to import all messages from MS Exchange 2003 to Linux (Courier IMAP). From Linux to Exchange the webservice is OK... but from Exchange to Linux NOT (The specified message set is invalid.)

How I can resolv this problem ? MS Exchange donn't have message index ?
Back to Top View mlota's Profile Search for other posts by mlota
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 21 November 2006 at 1:43pm | IP Logged Quote Alex

It depends on the code you're using. For instance, there is an error in the code (such as UIDs are used instead of message numbers) which does not occur on Linux simply because message numbers coincide with UIDs in this particular case.

To let us assist you, please enable logging of IMAP4 session into a file (using .Log property), then run your code again to reproduce the problem and then post this log with your code here. Or maybe, you will even be able to find the problem yourself - examining the log file is a very efficient way of troubleshooting.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
mlota
Newbie
Newbie


Joined: 21 November 2006
Location: Brazil
Online Status: Offline
Posts: 2
Posted: 21 November 2006 at 1:59pm | IP Logged Quote mlota

Tank you for reply...

I was resolv change:
MailMessageCollection msgs_src = host_src.DownloadEntireMessages("1:*", false);
to
MailMessageCollection msgs_src = host_src.DownloadEntireMessages("1:*", true);
Back to Top View mlota's Profile Search for other posts by mlota
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide