Jump to content

office365 mailboxes

Recommended Posts


I'm getting different results when I use the function 'EmailListMailboxes' than what actually exists in the folders of a client in office365. Completely different. Any ideas what I could be doing wrong? Is office365's folder structure not recognized by IMAP?

Any help is greatly appreciated. 

Share this post

Link to post
Share on other sites

hudi solved this themselves but I wanted to post the solution here in case someone else runs into this...

When you call EmailListMailBoxes but don't pass in any parameters, the function will return all top level mailboxes. However, if those folders have subfolders then you need to pass in the name of the top level folder in order to get a list of the subfolders. 

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


Important Information

By using this site, you agree to our Terms of Use.