Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET IMAP

 AfterLogic Forum : MailBee.NET IMAP
Subject Topic: UploadMessage Problem Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
gsilber
Newbie
Newbie


Joined: 23 January 2007
Online Status: Offline
Posts: 2
Posted: 23 January 2007 at 3:02am | IP Logged Quote gsilber

I am trying to migrate mail from one imap server to another. Everything works fine for a message or 2, but then I get the following log:

[02:38:50.14] [INFO] Will upload message to folder "INBOX".
[02:38:50.14] [SEND] MBN00000004 APPEND "INBOX" "18-May-2005 22:33:10 --0400" {2706}\r\n
[02:38:50.14] [RECV] BAD Command does not exist or is not implemented\r\n [Total 51 bytes received.]
[02:38:50.18] [RECV] + Ready for additional command text\r\n [Total 37 bytes received.]
[02:38:50.21] [INFO] Error: The server has responded with negative reply. The server responded: BAD Command does not exist or is not implemented.

I am not doing anything odd. The code loop looks like this:

             foreach (Envelope env in envs)
             {
                frm.Status.Text = "Processing: " + (i++).ToString() + " of " + envs.Count;
                System.Windows.Forms.Application.DoEvents();
                try
                {
                     MailBee.Mime.MailMessage msg1 = srcImap.DownloadEntireMessage(env.Uid, true);
                     msg1.ThrowExceptions = false;
                     dstImap.UploadMessage(msg1, "INBOX",null,msg1.Date);
                }
                catch (MailBeeException e)
                {
                     frm.err.Text = (errors++).ToString() + " errors found.";
                     e.ToString();
                }
             }

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


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 23 January 2007 at 9:14am | IP Logged Quote Andrew

Please download the latest version of MailBee.NET Objects (this is a pre-release of MailBee.NET Objects v3) and try again. Please let us know if it helps.

Best regards,
Andrew
Back to Top View Andrew's Profile Search for other posts by Andrew
 
gsilber
Newbie
Newbie


Joined: 23 January 2007
Online Status: Offline
Posts: 2
Posted: 27 January 2007 at 12:05am | IP Logged Quote gsilber

Thanks for the quick reply. The problem is still there with the new version of the module. I have verified that the reference is to version .28. Any help is appreciated.
Back to Top View gsilber's Profile Search for other posts by gsilber
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 27 January 2007 at 6:18am | IP Logged Quote Alex

Could you please re-post the log file produced by .28 build? Also, it would be great if you also provide us with a test account on your server so we would be able to investigate the issue. Maybe, your server indeed does not support uploading messages. You can send test account data using our Request Support Form.

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

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