PRB: IMS Custom Routing DLL may Drop Mail (188298)
The information in this article applies to:
- Microsoft Exchange Development Kit (EDK) 5.0
- Microsoft Exchange Server 5.5 SP1
- Microsoft Exchange Server 5.5 SP2
This article was previously published under Q188298 SYMPTOMS
The Exchange Server Internet Mail Service (IMS) when configured to use a
custom routing DLL may drop mail if the definition and implementation of
the rcRouteInboundMail() uses _stdcall.
CAUSE
For this call, the Exchange server is expecting the caller to cleanup the
stack that requires the called DLL to use the _cdecl calling convention.
The sample routing DLL uses a _cdecl calling convention that properly
reroutes SMTP mail.
MORE INFORMATION
The sample routing DLL is called Imcext.dll and is found on the Exchange
SDK as well as the "Microsoft BackOffice Resource Kit: Part One" compact
disc. Searching the Microsoft Developer Network on "IMC Sample Extension"
returns more information on this sample.
REFERENCESFor additional information, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
178378 XFOR: IMS Does Not Send NDR for Messages Passed From a Custom Routing .Dll File with DISP_NDR_ORIG
169681 XCON: IMS Stops with Access Violation When Using Imcext.dll
Modification Type: | Minor | Last Reviewed: | 3/4/2004 |
---|
Keywords: | kbprb KB188298 |
---|
|