| Author |  | 
      
        | talaattito Groupie
 
  
  
 Joined: 05 October 2011
 Location: Egypt
 Online Status: Offline
 Posts: 44
 | 
          please im using mailbee 6.10 i can not access any folder such as Sent,Trach,Junk
           | Posted: 05 October 2011 at 8:27pm | IP Logged |   |  
           | 
 |  Folders only i can access inbox ,please how can i access other folders and read of contents where i use imp.selectfolder(foldername) method please iwant any example for access other folders in gmail Unlike inbox
 
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          First of all, make sure you are indeed using IMAP and not POP3. With POP3, you can indeed access Inbox only. You can get the list of available IMAP folders with the code available here. Names returned by that method can be used with SelectFolder Method.
           | Posted: 05 October 2011 at 10:50pm | IP Logged |   |  
           | 
 |  
 Hope this helps!
 
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | talaattito Groupie
 
  
  
 Joined: 05 October 2011
 Location: Egypt
 Online Status: Offline
 Posts: 44
 | 
          thanks for your answered, it work succefully with gmail and yahoo
           | Posted: 06 October 2011 at 3:08am | IP Logged |   |  
           | 
 |  but hotmail i cant access any folder Unlike inbox i think becouse hotmail not support imap ,please
 - is there any way to access hotmail Sent,junk,... folders
 - how i know mails that i replay to it becouse i want marked it in datagridview
 thanks
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          
           | Posted: 06 October 2011 at 3:17am | IP Logged |   |  
           | 
 |  
| Quote: 
 
    
    | 
      
       | but hotmail i cant not access any folder Unlike inbox i think becouse hotmail not support imap ,please - is there any way to access hotmail Sent,junk,... folders
 |  |  |  
 I believe you are correct, Hotmail/Live.com service does not offer IMAP support, only POP3 access is available.
 
 
 
| Quote: 
 
    
    | 
      
       | how i know mails that i replay to it becouse i want marked it in datagridview |  |  |  
 You need to check whether the message has Answered flag set for it.
 
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | talaattito Groupie
 
  
  
 Joined: 05 October 2011
 Location: Egypt
 Online Status: Offline
 Posts: 44
 | 
          thanks for you, But the problem is that always not read any answered emails this is my code
           | Posted: 06 October 2011 at 3:40am | IP Logged |   |  
           | 
 |  -------------
 Dim imp As New Imap()
 imp.Connect("imap.gmail.com")
 imp.Login("company@gmail.com", "pass")
 imp.SelectFolder("INBOX")
 Dim uids As UidCollection = CType(imp.Search(True, "Answered",Nothing), UidCollection)
 MsgBox(uids.Count)
 imp.Disconnect()
 --------------
 uids always count 0 value, and im sure i replayed to many mails
 please there is any problem in my code
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          Your code seems to be correct. The problem is, GMail implementation of IMAP is highly non-standard one. In particular, it doesn't handle standard IMAP flags, such as \Deleted, \Answered and \Recent.
           | Posted: 06 October 2011 at 3:51am | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          Looks like that my previous message is, shall we say, not really correct. I have used the same code with my own GMail account, and have received a non-zero uids.Count. So this particular flag is supported, but it's set only if you use IMAP client, not the web interface of GMail.
           | Posted: 06 October 2011 at 4:07am | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | talaattito Groupie
 
  
  
 Joined: 05 October 2011
 Location: Egypt
 Online Status: Offline
 Posts: 44
 | 
          please im not understand what you mean by
           | Posted: 06 October 2011 at 4:20am | IP Logged |   |  
           | 
 |  ----> but it's set only if you use IMAP client
 how i use imap client?
 thanks
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          IMAP client - any email software which accesses mailbox via IMAP. It might be some webmail software, or desktop application (Outlook Express, Mozilla Thunderbird etc.). During tests I performed, replying through our own webmail client caused adding Answered flag for the original message, but replying through GMail web interface didn't.
           | Posted: 06 October 2011 at 4:25am | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | talaattito Groupie
 
  
  
 Joined: 05 October 2011
 Location: Egypt
 Online Status: Offline
 Posts: 44
 | 
          aready im developed desktop application and this preblem found in it
           | Posted: 06 October 2011 at 4:54am | IP Logged |   |  
           | 
 |  any help please this point important for me
 thanks
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          If there's no "Answered" flag set for the message, nothing can be done about this on MailBee end. You said you responded to messages found in your GMail box, but if you did that using GMail web interface, looks like they don't set "Answered" in such cases.
           | Posted: 06 October 2011 at 4:57am | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | talaattito Groupie
 
  
  
 Joined: 05 October 2011
 Location: Egypt
 Online Status: Offline
 Posts: 44
 | 
          very thanks im understand you
           | Posted: 06 October 2011 at 5:04am | IP Logged |   |  
           | 
 |  Regards,
 
 | 
       
        | Back to Top |     | 
       
       
        |  |