Exemple #1
0
        //private const string HeaderPattern = @"BODY\[HEADER\]\s+\{\d+\}(.|(\r\n.+))+\r\n\r\n";
        //private static readonly Regex HeaderRegex = new Regex(HeaderPattern, RegexOptions.IgnoreCase | RegexOptions.Compiled);

        public ImapMailbox(ImapSession session, string name)
        {
            _name           = name;
            _connection     = session.Authenticator.Connection;
            _permanentFlags = new List <string>();
            _flags          = new List <string>();
        }
Exemple #2
0
 internal ImapSession(ImapAuthenticator authenticator)
 {
     _authenticator = authenticator;
     _connection    = authenticator.Connection;
 }
Exemple #3
0
 internal ImapAuthenticator(ImapConnection connection)
 {
     _connection = connection;
 }