开发者

Acceptance Testing - Check Email Received

开发者 https://www.devze.com 2023-01-16 18:34 出处:网络
I have s开发者_StackOverflow社区ome 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 be

I have s开发者_StackOverflow社区ome 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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号