Archived from groups: microsoft.public.windowsxp.device_driver.dev (More info?)
Hi,
I am developing a SMTP Filter based on a TDI Driver. The idea is save
all data sent by the email client, and one time the data is revised send
it throught the network. The driver is transparent for applications, so
the smtp client think that the email is being sent although in this time
the email is only be saved.
For this purpose, I implemented to parts. The first one completes all
"TDI_SEND Irps" without pass it to the lower driver, so the smtp client
think that the data is being sent. The second one, call
ClientEventReceive to simulate in the smtp client the responses of the
server.
I have made a little smtp client application that implement the basic
commands to send an email and I have tested that all work well. When the
driver call ClientEventReceive handler, the data is received in the test
application. However, I have problems with Microsoft Outlook Express.
The data is intercepted but when I call ClientEventReceive handler it
don't do nothing. I suppose that highter drivers is receiving the data
because BytesTaken parameter is filled with the total lenght of the
data, but it doens't seem to arrive to Outlook because it doesn't send a
response.
Is it possible that an application don't receive the data indicated with
ClientEventReceive although the Event handler for this "Event type" is set?
Do you know any others issues that can be the cause of this problem?
You are about to answer a thread that has been inactive for more than 6 months. If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.