How do I test my TransportAgent?

Hi all;

What's the best way to set up unit tests for a transport agent? The problem is I need actual emails going through to test which means setting up a test exchange server and then sending emails I'm guessing. Is there an easier way?

Is it considered safe to just call it directly from a mock framework?

thanks - dave

ps - One nice thing about having Exchange for my home email, I can install it there for in use testing without endangering anything other than emails to/from family me

August 25th, 2013 10:22am

You'd have to be pretty keen to build a mock framework ... 

It depends on what you're trying to test -

If you're simply checking for stability there are (free) 3rd party email applications that can do it or simply write a app to it (using C# - or grab an SMTP class from somewhere like code project).

Scott
Free Windows Admin Tool Kit Click here and download it now
August 26th, 2013 12:14am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics