//public static Save() //{ //} /// <summary> /// 创建Config /// </summary> /// <returns></returns> public static PopConfig Create() { if (_popConfig == null) { _popConfig = new PopConfig(); } return(_popConfig); }
/// <summary> /// 接收邮件 /// </summary> /// <returns></returns> public static List <MailMessageEx> Receive() { PopSetting ps = PopConfig.Create().PopSetting; return(Receive(ps.Server, ps.Port, ps.UseSSL, ps.UserName, ps.Password)); }