View Single Post
  #1  
Old April 7th 06, 10:32 AM posted to microsoft.public.outlook.program_forms
StupidDog
external usenet poster
 
Posts: 7
Default read mail folder list

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; icount;i++) //count is folder number
{
CString name = getmailfoldername(i);
}

please help me, thank you!

--
只要决心成功,失败永远不会把我击垮!
Ads