在不使用第三方的情况下连接到流行服务器 [英] connect to pop server without using third party

查看:45
本文介绍了在不使用第三方的情况下连接到流行服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

有谁知道如何在不使用任何第三方应用程序的情况下访问流行服务器?

hi everyone,

does anyone know how to access pop server without using any third party application?
thanks!

推荐答案

许多人都知道如何编写此类应用程序.在CodeProject文章中进行搜索就足够了,以获得一些不错的代码示例:
http://www.codeproject.com/search.aspx? q = pop3 + client +%22C%23%22& doctypeid = 5 [ http://en.wikipedia.org/wiki/Pop3 [ http://en .wikipedia.org/wiki/Base_Class_Library [ ^ ] ),则无法复制"3rd-party".使用类System.Net.Sockets.TcpClient:
就足够了 http://msdn.microsoft.com/en-us/library/system. net.sockets.tcpclient.aspx [ ^ ].

问题解决了.

—SA
Many know how to write such applications. It''s enough to search through CodeProject articles to get some good code samples:
http://www.codeproject.com/search.aspx?q=pop3+client+%22C%23%22&doctypeid=5[^].

This is possible because POP3 protocol is open, so in principle you can do everything by yourself without even reading of these articles (who knows, may be you would dub them "3rd-party" :-)). You can find everything you need if you start here:
http://en.wikipedia.org/wiki/Pop3[^].

And this is possible because it''s based on TCP/IP connection which is implemented in BCL (Base Class Library, http://en.wikipedia.org/wiki/Base_Class_Library[^]) of .NET, which you cannot dub "3rd-party". It will be enough to use the class System.Net.Sockets.TcpClient:
http://msdn.microsoft.com/en-us/library/system.net.sockets.tcpclient.aspx[^].

Problem solved.

—SA


这篇关于在不使用第三方的情况下连接到流行服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆