Author |
|
atamata Newbie
Joined: 02 April 2012
Online Status: Offline Posts: 15
|
Posted: 08 June 2012 at 4:52am | IP Logged
|
|
|
Hi, is it possible to select the 'All Mail' folder? I've tried using the SelectFolder method and it throws an exception, I'm guessing that All Mail is possibly a label and not an actual folder.
Could you advise some way of achieving this?
thanks
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 08 June 2012 at 5:10am | IP Logged
|
|
|
To check this, I have used this sample with my GMail account, and the result was as follows:
As you can see, All Mail isn't actually one of the root folders, it's a child of [Gmail] folder. Thus, the following line of code:
Code:
imp.SelectFolder("[Gmail]/All Mail"); |
|
|
works as expected.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
atamata Newbie
Joined: 02 April 2012
Online Status: Offline Posts: 15
|
Posted: 08 June 2012 at 6:30am | IP Logged
|
|
|
Thanks you, I was omitting the [Gmail] part
|
Back to Top |
|
|