Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET IMAP

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


Joined: 09 December 2007
Online Status: Offline
Posts: 1
Posted: 09 December 2007 at 6:55am | IP Logged Quote drevivo

Hi,

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 View drevivo's Profile Search for other posts by drevivo
     
    Andrew
    AfterLogic Support
    AfterLogic Support


    Joined: 28 April 2006
    Location: United States
    Online Status: Offline
    Posts: 1189
    Posted: 10 December 2007 at 2:39am | IP Logged Quote Andrew

    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:

    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 View Andrew's Profile Search for other posts by Andrew
     
    tliebscher
    Newbie
    Newbie
    Avatar

    Joined: 27 December 2007
    Location: Germany
    Online Status: Offline
    Posts: 5
    Posted: 27 December 2007 at 6:36am | IP Logged Quote tliebscher

    Hi!

    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 View tliebscher's Profile Search for other posts by tliebscher
     
    Alex
    AfterLogic Support
    AfterLogic Support
    Avatar

    Joined: 19 November 2003
    Online Status: Offline
    Posts: 2206
    Posted: 27 December 2007 at 8:02am | IP Logged Quote Alex

    Please download and use the latest beta of MailBee.NET.dll. See our FAQ on how to get it.

    Regards,
    Alex

    Back to Top View Alex's Profile Search for other posts by Alex
     
    tliebscher
    Newbie
    Newbie
    Avatar

    Joined: 27 December 2007
    Location: Germany
    Online Status: Offline
    Posts: 5
    Posted: 28 December 2007 at 1:52am | IP Logged Quote tliebscher

    And that solved my problem. Works fine with the latest version!

    Thanks a lot!
    Back to Top View tliebscher's Profile Search for other posts by tliebscher
     

    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