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!
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!