예제 #1
0
 public StateMachine(CancellationToken token, String host, int port, String user, String pswd, String dldFile)
 {
     this.user         = "******"" + user.Trim(' ') + "\"";
     this.pswd         = "\"" + pswd + "\"";
     this.dldFile      = dldFile;
     this.host         = host;
     this.token        = token;
     messagesInAccount = 0;
     messageid         = new Dictionary <string, string>();
     connect           = new ImapConnect(host, port);
 }
예제 #2
0
 public StateMachine(CancellationToken token, String host, int port, String user, String pswd, String dldFile)
 {
     this.user = "******"" + user.Trim(' ') + "\"";
     this.pswd = "\"" + pswd + "\"";
     this.dldFile = dldFile;
     this.host = host;
     this.token = token;
     messagesInAccount = 0;
     messageid = new Dictionary<string, string>();
     connect = new ImapConnect(host, port);
 }