Can you try the following sample code
Int GetInboxCount (FaxServer faxServer)
{
FaxIncomingMessageIterator iterator = null;
int PrefetchSize = 100;
int count = 0;
iterator = faxServer.Folders.IncomingArchive.GetMessages
(PrefetchSize);
while (!iterator.AtEOF)
{
count++;
iterator.MoveNext ();
}
return count ;
}
--
Loganatr [MSFT]
Microsoft Printing, Imaging and Fax Team
This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.'
Pavan Kumar said:
HI ,
Can any one know or send code for me to get the number of messages present
in the incoming archive.
I am having win2003 and using faxcomexlib.dll
Regards
pavan