| Author |  | 
      
        | drevivo Newbie
 
  
 
 Joined: 09 December 2007
 Online Status: Offline
 Posts: 1
 | 
          Hi,
           | Posted: 09 December 2007 at 6:55am | IP Logged |   |  
           | 
 |  
 I am trying to move a message from the inbox to a subfolder of the inbox "processed".
 
 i keep getting "No required data found in the server response" .
 
 1) The message is copied to the destination but not removed from the INBOX.
 2) Why am i getting an exception.
 
 what am i missing?
 
 here is the code i am running.
 InitializeMailBee();
 
 // Connect to the server, login and select inbox.
 imp.Connect(textBoxImapServer.Text);
 imp.Login(textBoxImapUser.Text, textBoxImapPassword.Text);
 imp.SelectFolder("INBOX");
 
 // Find all messages which are already read.
 UidCollection uids = (UidCollection)imp.Search(true, null, null);
 
 if (uids.Count > 0)
 {
 imp.MoveMessages(uids.ToString(),  false, "INBOX\\Processed");
 }
 
 // Disconnect from the server.
 imp.Disconnect();
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Andrew AfterLogic Support
 
  
 
 Joined: 28 April 2006
 Location: United States
 Online Status: Offline
 Posts: 1189
 | 
          Could you please enable logging IMAP4 session into a file, reproduce the issue and provide us with the log file for examination. You can enable logging as follows:
           | Posted: 10 December 2007 at 2:39am | IP Logged |   |  
           | 
 |  
 
 
| Code: 
 
    
    | 
      
       | Imap imap = new Imap(); imap.Log.Enabled = true;
 imap.Log.Filename = @"C:\log.txt";
 |  |  |  
 Please make sure the application has permission to write into the specified location.
 
 It would be also very helpful if you provide us with a test account on your mail server. So we would be able to reproduce and investigate the issue directly.
 
 You can send this info using our Request Support Form.
 
 Best regards,
 Andrew
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | tliebscher Newbie
 
  
  
 Joined: 27 December 2007
 Location: Germany
 Online Status: Offline
 Posts: 5
 | 
          Hi!
           | Posted: 27 December 2007 at 6:36am | IP Logged |   |  
           | 
 |  
 I have exactly the same issue, when connecting to my gmx imap account.
 
 The same code runs fine on a imap mailbox which belongs to the webspace of a colleague.
 
 Do you still need this log info?
 
 BR
 Torsten
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Alex AfterLogic Support
 
  
  
 Joined: 19 November 2003
 Online Status: Offline
 Posts: 2207
 | 
          Please download and use the latest beta of MailBee.NET.dll. See our FAQ on how to get it.
           | Posted: 27 December 2007 at 8:02am | IP Logged |   |  
           | 
 |  
 Regards,
 Alex
 
 
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | tliebscher Newbie
 
  
  
 Joined: 27 December 2007
 Location: Germany
 Online Status: Offline
 Posts: 5
 | 
          And that solved my problem. Works fine with the latest version!
           | Posted: 28 December 2007 at 1:52am | IP Logged |   |  
           | 
 |  
 Thanks a lot!
 | 
       
        | Back to Top |     | 
       
       
        |  |