开发者

How do I receive email as part of an integrated processing scheme in dotnet 4.0?

开发者 https://www.devze.com 2023-01-31 05:51 出处:网络
Here\'s the situation.Using a C# program, I have to POST big chunks of XML data to a third-party web site.This web site accepts the POSTs (via http), then puts them in a queue.Sometime later, when the

Here's the situation. Using a C# program, I have to POST big chunks of XML data to a third-party web site. This web site accepts the POSTs (via http), then puts them in a queue. Sometime later, when their server gets around it it, it processes my data and emails me back the results (using an email address that's in an XML element in the file). The contents of the email messages are themselves XML.

My frien开发者_运维技巧dly local system administrator has created a dedicated Exchange mailbox for this purpose.

The question to you gurus is this: is there a simple, reliable, debugged API to use C# to grab these messages from the dedicated exchange mailbox, and purge them when I'm done?

I'm aware that I could write some code to use POP3/TCP. But I really don't want to reinvent the flat tire. :-) Any suggestions would be very welcome.


The question to you gurus is this: is there a simple, reliable, debugged API to use C# to grab these messages from the dedicated exchange mailbox, and purge them when I'm done?

Excahnge has a full set of web services you can use.

Check http://msdn.microsoft.com/en-us/library/bb204119.aspx

Best you can do. Otherwise look at Read MS Exchange email in C# - the same answers apply. Thus voted to close.

0

精彩评论

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