Author |
|
Loni2Shoes Newbie
Joined: 18 September 2008 Location: United States
Online Status: Offline Posts: 4
|
Posted: 13 February 2009 at 3:26pm | IP Logged
|
|
|
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 |
|
|
Andrew AfterLogic Support
Joined: 28 April 2006 Location: United States
Online Status: Offline Posts: 1189
|
Posted: 16 February 2009 at 1:56am | IP Logged
|
|
|
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 |
|
|
Loni2Shoes Newbie
Joined: 18 September 2008 Location: United States
Online Status: Offline Posts: 4
|
Posted: 17 February 2009 at 10:13am | IP Logged
|
|
|
Excellent! I was able to find the name of the folder is "[Gmail]/Spam" using the DownloadFolders method. Thank you kindly!
|
Back to Top |
|
|