Using directives
#region Using directives
using System;
using System.Collections.Generic;
using System.Text;
#endregion

namespace
Sky.MailMonitor
{
class Program
{
static void Main(string[] args)
{
Pop3 pop3 = new Pop3();
string username="xxxxxx";
string password="xxxxxx";
string hostname="pop3.163.com";
try
{
pop3.Connect(hostname);
pop3.Login(username, password);
pop3.Stat();
pop3.List();
}
catch(Exception e)
{
Console.WriteLine(e.Message);
}
finally
{
pop3.Close();
}
}
}
}
1419




被折叠的 条评论
为什么被折叠?



