Description
The account object represents a single hMailServer account.
Methods
Delete()
Deletes the account from the database.
DeleteMessages()
Deletes all messages that exists in the account.
Save()
Saves the account in the database.
UnlockMailbox()
Unlocks the POP3 mailbox.
ValidatePassword(string Password)
Validates the password. Returns true if the password is correct.
Properties
bool Active
Active
string ADDomain
Name of the active directory domain.
string Address
The e-mail address of the account.
eAdminLevel AdminLevel
Administration level.
string ADUsername
Name of the active directory user account.
long DomainID
The database identifier of the domain in which the account belong.
External fetch accounts connected to this account.
(read-only)
string ForwardAddress
Address messages to this account should be forwarded to.
bool ForwardEnabled
Forwarding for this account is enabled.
bool ForwardKeepOriginal
Keep original message after forwarding has been applied.
long ID
The database identifier for the account.
(read-only)
The IMAP folders belonging to this account.
(read-only)
bool IsAD
The account is connected to Active Directory.
VARIANT LastLogonTime
The timestamp for the last usage of this account.
(read-only)
long MaxSize
Maximum size in of the account (MB).
Messages in the accounts mailbox.
(read-only)
string Password
The password of the account.
string PersonFirstName
First name of the account holder.
string PersonLastName
Last name of the account holder.
long QuotaUsed
Percentage of quota used (0-100).
(read-only)
The rules specified for this account.
(read-only)
bool SignatureEnabled
Enable the signature
string SignatureHTML
The HTML version of the signature
string SignaturePlainText
The plain text version of the signature
float Size
The size of the account.
(read-only)
string VacationMessage
The vacation message
bool VacationMessageExpires
Vacation message is set to expire
string VacationMessageExpiresDate
The vacation message expires this date
bool VacationMessageIsOn
Vacation message is turned on.
string VacationSubject
The vacation message subject