The HrGWStartNewMailHandler function starts a thread to process new mail.
Header file: | GWMAIN.H |
Library: | GWMAIN.LIB |
Unicode: | Yes |
HRESULT HrGWStartNewMailHandler(
DWORD dwSubmitInterval,
DWORD dwPollingInterval,
DWORD cMessages,
DWORD cThreads,
LPCTSTR lpszAddrType,
LPCTSTR lpszPath,
LPTHREAD_START_ROUTINE lpStartAddress
);
See Return Values.
You must have at least one thread running for each address type that your gateway supports.
FreeThreadParameter, HrGWStartNewFileHandler