internal IdleErrorEventArgs(Exception exception, ImapClient client)
 {
     exception.ThrowIfNull("exception");
     client.ThrowIfNull("client");
     Exception = exception;
     Client = client;
 }
Example #2
0
 public MailAdapter(string hostName, int port, string userName, string password)
 {
     imapadapt = new ImapClient(hostName, port, userName, password, AuthMethod.Auto, true, null);
     MailMessages = new List<MailMessage>();
 }
 internal IdleMessageEventArgs(uint messageCount, uint messageUID, ImapClient client)
 {
     this.MessageCount = messageCount;
     this.MessageUid = messageUID;
     this.Client = client;
 }