| Author |  | 
      
        | Roman Newbie
 
  
 
 Joined: 28 December 2007
 Location: Russian Federation
 Online Status: Offline
 Posts: 1
 | 
          Hi,
           | Posted: 28 December 2007 at 1:39pm | IP Logged |   |  
           | 
 |  
 I have a problem related to imap.DownloadEnvelopes() method.
 
 When i try to execute this code:
 envelopes = imap.DownloadEnvelopes("500:510", false, EnvelopeParts.All, 100); the mail server (GMail) writes: The server has responded with negative reply. The server responded: MBN00000004 NO Some messages could not be FETCHed (Failure).
 What I should do to resolve this problem?
 
 Thanks and regards,
 Roman
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Andrew AfterLogic Support
 
  
 
 Joined: 28 April 2006
 Location: United States
 Online Status: Offline
 Posts: 1189
 | 
          Could you provide us with the full code of the sample you use to connect and fetch messages from your GMail account? So we would be able to reproduce the issue directly.
           | Posted: 29 December 2007 at 4:09am | IP Logged |   |  
           | 
 |  
 Also 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.
 
 You can send us log and code sample via Request Support Form.
 
 Best regards,
 Andrew
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Deejkumar.mg Newbie
 
  
  
 Joined: 17 November 2008
 Location: India
 Online Status: Offline
 Posts: 2
 | 
          Hi can u tell me what happened after this
           | Posted: 27 April 2009 at 4:29am | IP Logged |   |  
           | 
 |  | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Alex AfterLogic Support
 
  
  
 Joined: 19 November 2003
 Online Status: Offline
 Posts: 2207
 | 
          We found Google fixed this bug on their end (it occurred in Jan 2008).
           | Posted: 27 April 2009 at 4:34am | IP Logged |   |  
           | 
 |  
 Regards,
 Alex
 | 
       
        | Back to Top |     | 
       
       
        |  |