iSofia

Member
Jun 3, 2014
14
0
1
cPanel Access Level
Website Owner
There is only one to list email accounts, not to list imap folders...
Hi vanessa, and thank you so much for your reply. At least I can rule that out and search for other avenues.

I'll take a look at the API of the webmail client I'm using, although any other suggestions would still be appreciated.

Once again, thank you. :)
 

iSofia

Member
Jun 3, 2014
14
0
1
cPanel Access Level
Website Owner
I'm not sure what client you're using, but a lot of languages already have built-in imap support to where once you auth you can poll the imap server for folders...
Yes, and I am using a couple of their APIs to remotely login and logout. And they also seem to have the API to get the folders, but I just can't figure out how to use it.

Oh yes, btw, I'm using AfterLogic's WebMail Lite. The API function in question is Folders, as it is listed here:

WebMail Lite API Reference

I appreciate your kind attention, vanessa. :)
 

vanessa

Well-Known Member
PartnerNOC
Sep 26, 2006
833
28
178
Virginia Beach, VA
cPanel Access Level
DataCenter Provider
Yes, and I am using a couple of their APIs to remotely login and logout. And they also seem to have the API to get the folders, but I just can't figure out how to use it.

Oh yes, btw, I'm using AfterLogic's WebMail Lite. The API function in question is Folders, as it is listed here:

WebMail Lite API Reference

I appreciate your kind attention, vanessa. :)

I've never used their stuff, but it looks like it might already have a method of integration:

How to install WebMail Pro on cPanel server - AfterLogic Knowledge Base
 

iSofia

Member
Jun 3, 2014
14
0
1
cPanel Access Level
Website Owner
Thank you for that. I didn't go that route because I am creating a custom login page, and have also integrated password, forwarding, and auto-responder functionality into the mail client itself (without using Sieve), and am now trying to implement filtering. It's a very simplified version of what cPanel already offers, but for the less tech-savvy users (haha! look who's talking!).

Integration would expose these standard offerings, and that might lead to more customer support. :(

The Folders function is definitely the ticket, and I'm tinkering with it now. I'm familiar with the API initialization, but I'm still having trouble trying to read the returned values in the CApiMailFolderCollection object.

I'll keep you posted, and please do also let me know if you have any suggestions with this.

Thank you.