Beispiel #1
0
 public void AddAccount(string address, string password)
 {
     hMailServer.Account account = DomainUtil.GetDomain(address).Accounts.Add();
     account.Address    = address;
     account.Password   = password;
     account.Active     = true;
     account.AdminLevel = hMailServer.eAdminLevel.hAdminLevelNormal;
     account.MaxSize    = 20;
     account.Save();
 }
Beispiel #2
0
 public void DeleteAccount(string address)
 {
     hMailServer.Account account = DomainUtil.GetDomain(address).Accounts.get_ItemByAddress(address);
     account.Delete();
 }
Beispiel #3
0
 public void ChangePassword(string address, string password)
 {
     hMailServer.Account account = DomainUtil.GetDomain(address).Accounts.get_ItemByAddress(address);
     account.Password = password;
     account.Save();
 }