2

I have some acceptance test allows a Windows service to send an email out via smtp, does anyone know of a good way to check if a email has been received via code, at present being sent to an Exchange Mail Box?

Regards

Iain

Iain
  • 6,392
  • 2
  • 30
  • 50

1 Answers1

1

Microsoft offers an SDK for Exchange. The following specifies that (in 2010 at least - since you don't mention version) you can get an XML dump of emails: http://msdn.microsoft.com/en-us/library/dd877045%28v=EXCHG.140%29.aspx

Rushyo
  • 7,495
  • 4
  • 35
  • 42