Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET IMAP

 AfterLogic Forum : MailBee.NET IMAP
Subject Topic: Folder within a folder Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
netcast
Newbie
Newbie


Joined: 14 October 2010
Location: Canada
Online Status: Offline
Posts: 4
Posted: 14 October 2010 at 1:56pm | IP Logged Quote netcast

Hi -

Not sure if this is possible, but I thought I would ask!
Is it possible to have an IMAP folder with another?
e.g archive/personal, archive/projects, etc
If so...
Could I select the folder "archive" and then get a list of the folders?

something like:
imp.SelectFolder("archive")
For Each folder As Folder In imp.Search(something)
    Response.Write(folder.Name)
Next
Back to Top View netcast's Profile Search for other posts by netcast
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 15 October 2010 at 2:01am | IP Logged Quote Igor

Quote:
Is it possible to have an IMAP folder with another?
e.g archive/personal, archive/projects, etc


Yes, this feature is supported by IMAP protocol. GMail uses this approach widely: if you access GMail account via IMAP, you'll see [GMail] folder there with a number of subfolders:

  • [GMail]/All Mail
  • [GMail]/Drafts
  • [GMail]/Spam
  • ...


Quote:
Could I select the folder "archive" and then get a list of the folders?


You can get a full list of folders as shown here. And this documentation page shows how to get subfolders of a particular folder.

Hope this helps!
Back to Top View Igor's Profile Search for other posts by Igor
 
netcast
Newbie
Newbie


Joined: 14 October 2010
Location: Canada
Online Status: Offline
Posts: 4
Posted: 15 October 2010 at 8:24am | IP Logged Quote netcast

Worked perfectly! Thanks
Back to Top View netcast's Profile Search for other posts by netcast
 

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