read mail folder list

S

StupidDog

how to reak outlook's mail folder list?

i can get outlook's mail folder list by
"pFolder=pApp->GetNamespace(_bstr_t("MAPI"))->PickFolder();" now.
but this is a dialog box.

i don't want get dialog box, i want get the list as "CString", like inbox,
outbox
i want like this...
for(int i; i<count;i++) //count is folder number
{
CString name = getmailfoldername(i);
}

please help me, thank you!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top