mailoperation.cs

来自「网络编程案例」· CS 代码 · 共 23 行

CS
23
字号
using System;
using System.Net;
using System.Net.Sockets;

namespace MyOutlook
{
	/// <summary>
	/// MailOperation 的摘要说明。
	/// </summary>
	public interface Operation
	{
		
		bool Connect(MailAccount ma, bool isReceive, ref string repMsg);
		Mail Receive(ref string repMsg, int mailid);
		bool Pop3Login(ref string repMsg);
		bool SmtpLogin(ref string repMsg);
		int GetMailNumber(ref string repMsg);
		bool ListMails(ref string repMsg);
		bool Close(ref string repMsg);
		bool Send(Mail mail, ref string repMsg);
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?