开发者

Determine mailbox access protocol using C#

I racked my brain about how can i determine what protocol is used by a mailbox. I'm creating a simple C# application that get an email adress and read all the mails, first of all i have to know how to access to this mailbox (which protocol to use) - i'm looking for开发者_高级运维 a way to check what it the appropriate protocol (and please don't suggest me to try accessing all of them).

BTW, I don't have any limit which framework to use.

hanks in advance!!! I'll appriciate a quick (and good :)) respone!


There's no way to tell just from an address what access methods might work. There are the 2 core protocols (POP3 and IMAP) and their SSL variants. Additionally, there's all the other info you need related to the address (mail server running POP3/IMAP/etc.)

The general use case here is handled by getting the appropriate data (including protocol) from the user.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜