Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET IMAP

 AfterLogic Forum : MailBee.NET IMAP
Subject Topic: Accessing the GMail SPAM Folder Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Loni2Shoes
Newbie
Newbie


Joined: 18 September 2008
Location: United States
Online Status: Offline
Posts: 4
Posted: 13 February 2009 at 3:26pm | IP Logged Quote Loni2Shoes

Is it possible to use connIMAP.SelectFolder method to get into the SPAM folder of a GMail account I'm connected to? I've tried connIMAP.SelectFolder("SPAM") and connIMAP.SelectFolder("$SPAM") to no avail and can't seem to find a method to list the available folders for a given connection (else I could check the list at run time).

Thanks!
Back to Top View Loni2Shoes's Profile Search for other posts by Loni2Shoes
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 16 February 2009 at 1:56am | IP Logged Quote Andrew

Yes, it's possible. To learn the exact name of that folder and path to it, use Imap.DownloadFolders method.

Best regards,
Andrew
Back to Top View Andrew's Profile Search for other posts by Andrew
 
Loni2Shoes
Newbie
Newbie


Joined: 18 September 2008
Location: United States
Online Status: Offline
Posts: 4
Posted: 17 February 2009 at 10:13am | IP Logged Quote Loni2Shoes

Excellent! I was able to find the name of the folder is "[Gmail]/Spam" using the DownloadFolders method. Thank you kindly!
Back to Top View Loni2Shoes's Profile Search for other posts by Loni2Shoes
 

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