Exemplo n.º 1
0
 public MailAccount(string address, string name, bool enabled,
                    bool quota_error, MailBox.AuthProblemType auth_error, int id,
                    bool oauth_connection, SignatureDto signature, string email_in_folder)
 {
     Address         = address;
     Name            = name;
     Enabled         = enabled;
     QuotaError      = quota_error;
     AuthError       = auth_error == MailBox.AuthProblemType.TooManyErrors;
     Id              = id;
     OAuthConnection = oauth_connection;
     Signature       = signature;
     EMailInFolder   = email_in_folder;
 }
Exemplo n.º 2
0
 public AccountInfo(int id, string address, string name, bool enabled,
                    bool quota_error, MailBox.AuthProblemType auth_error, SignatureDto signature, bool oauth_connection,
                    string email_in_folder, bool is_teamlab_mailbox)
 {
     Id               = id;
     Email            = address;
     Name             = name;
     Enabled          = enabled;
     QuotaError       = quota_error;
     AuthError        = auth_error == MailBox.AuthProblemType.TooManyErrors;
     Signature        = signature;
     Aliases          = new List <MailAddressInfo>();
     Groups           = new List <MailAddressInfo>();
     OAuthConnection  = oauth_connection;
     EMailInFolder    = email_in_folder;
     IsTeamlabMailbox = is_teamlab_mailbox;
 }
Exemplo n.º 3
0
 public AccountInfo(int id, string address, string name, bool enabled,
                    bool quotaError, MailBox.AuthProblemType authError, MailSignature signature, MailAutoreply autoreply,
                    bool oauthConnection, string emailInFolder, bool isTeamlabMailbox, bool isSharedDomainMailbox)
 {
     Id                    = id;
     Email                 = address;
     Name                  = name;
     Enabled               = enabled;
     QuotaError            = quotaError;
     AuthError             = authError > MailBox.AuthProblemType.NoProblems;
     Autoreply             = autoreply;
     Signature             = signature;
     Aliases               = new List <MailAddressInfo>();
     Groups                = new List <MailAddressInfo>();
     OAuthConnection       = oauthConnection;
     EMailInFolder         = emailInFolder;
     IsTeamlabMailbox      = isTeamlabMailbox;
     IsSharedDomainMailbox = isSharedDomainMailbox;
 }