问题
I need to read data from the server via the POP3 protocol, and then put them into the database. I work with .NET, win forms, C# language.
What is the best way to do it?
回答1:
There isn't any built in pop3 feature in .net, only smtp outgoing.
There are several pop3 controls out there which you can purchase / download.
There are tons of results in Google that solve this problem:
- http://tinyurl.com/35892z8
It depends if you are willing to spend money or want it free.
回答2:
you can use OpenPop.NET from NuGet.
https://www.nuget.org/packages/OpenPop.NET/ http://hpop.sourceforge.net/
来源:https://stackoverflow.com/questions/4336978/c-sharp-pop3-protocol-solution