Tom's Hardware > Forum > Windows XP > Device Driver > Problem with SMTP Filter

Problem with SMTP Filter

Forum Windows XP : Device Driver - Problem with SMTP Filter

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

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?


Thanks in advance for your help.

Sponsored Links
Register or log in to remove.
Tom's Hardware > Forum > Windows XP > Device Driver > Problem with SMTP Filter
Go to:

There are 556 identified and unidentified users. To see the list of identified users, Click here.

Please mind

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.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them