Class CAccount
CAccount summary
- api_AContainer
- CAccount
Methods summary
public
|
|
public static
|
|
public
integer
|
|
public
string
|
|
public
|
|
public
|
|
public
boolean
|
#
isExtensionEnabled( string $sExtensionName )
Checks whether particular functionality extension is enabled. |
public
array
|
|
public
|
|
public
|
|
public
|
#
initBeforeChange( )
Initialize account object before it's changing. Function with the same name is used for other objects in a unified container api_AContainer. |
public
string
|
#
getFriendlyEmail( )
If display name is non-empty, returns email address with display name attached; otherwise, just the email. |
public
boolean
|
#
isGmailAccount( )
Performs a check whether account is hosted by GMail, by comparing IMAP hostname with known values. |
public
boolean
|
|
public
array
|
#
getMap( )
Obtains static map of account fields. Function with the same name is used for other objects in a unified container api_AContainer. |
public
integer
|
|
public static
array
|
|
public
boolean
|
Constants summary
string |
ChangePasswordExtension
|
#
'AllowChangePasswordExtension'
|
string |
AutoresponderExtension
|
#
'AllowAutoresponderExtension'
|
string |
SpamFolderExtension
|
#
'AllowSpamFolderExtension'
|
string |
DisableAccountDeletion
|
#
'DisableAccountDeletion'
|
string |
DisableManageFolders
|
#
'DisableManageFolders'
|
string |
SieveFiltersExtension
|
#
'AllowSieveFiltersExtension'
|
string |
ForwardExtension
|
#
'AllowForwardExtension'
|
string |
DisableManageSubscribe
|
#
'DisableManageSubscribe'
|
string |
DisableFoldersManualSort
|
#
'DisableFoldersManualSort'
|
string |
IgnoreSubscribeStatus
|
#
'IgnoreSubscribeStatus'
|
Properties summary
public
|
$User
CUser object for the account. |
|
public
|
$Domain
CDomain object for the account. |
|
protected
array
|
$aExtension
|
Magic properties
public
integer
|
$IdAccount
Account's ID. |
public
integer
|
$IdUser
User ID. |
public
integer
|
$IdDomain
Domain's ID. |
public
integer
|
$IdTenant
Tenant's ID (Aurora only). |
public
boolean
|
$IsInternal
If true, the account is hosted by bundled mailserver. |
public
boolean
|
$IsDisabled
If true, the account is disabled by the administrator. |
public
boolean
|
$IsDefaultAccount
If true, it's the primary account of this user, their other accounts are linked ones. |
public
boolean
|
$IsMailingList
If true, the account denotes mailing list rather than regular email account. |
public
integer
|
$StorageQuota
Account storage quota. |
public
integer
|
$StorageUsedSpace
Disk space currently used by the account. |
public
string
|
$Email
Email address of the account. |
public
string
|
$FriendlyName
Display name of the account. |
public
integer
|
$IncomingMailProtocol
deprecated. |
public
string
|
$IncomingMailServer
IMAP server's hostname or IP address. |
public
integer
|
$IncomingMailPort
IMAP server port. |
public
string
|
$IncomingMailLogin
IMAP login value. |
public
string
|
$IncomingMailPassword
Account password on IMAP. |
public
boolean
|
$IncomingMailUseSSL
If true, SSL access is used to access IMAP. |
public
string
|
$PreviousMailPassword
Account password stored in the database, may differ for actual password entered by user, e.g. if password was changed on mailserver. |
public
string
|
$OutgoingMailServer
SMTP server's hostname or IP address. |
public
integer
|
$OutgoingMailPort
SMTP server port. |
public
string
|
$OutgoingMailLogin
SMTP login value. |
public
string
|
$OutgoingMailPassword
Account password on SMTP. |
public
integer
|
$OutgoingMailAuth
Denotes whether SMTP authentication is used. |
public
boolean
|
$OutgoingMailUseSSL
If true, SSL access is used to access SMTP. |
public
integer
|
$OutgoingSendingMethod
Reserved for future use. |
public
boolean
|
$HideInGAB
If set to true, account will be excluded from global address book. |
public
string
|
$Signature
Account's signature. |
public
integer
|
$SignatureType
0 for plaintext signature, 1 for HTML one. |
public
integer
|
$SignatureOptions
0 means signature isn't used, 1 means signature is added to new messages only, 2 - added to all messages. |
public
integer
|
$GlobalAddressBook
Defines mode of presenting the account in global address book. |
public
boolean
|
$AllowCompose
true if composing new messages is allowed for the account. |
public
boolean
|
$AllowReply
true if replying to messages is allowed for the account. |
public
boolean
|
$AllowForward
true if forwarding messages is allowed for the account. |
public
boolean
|
$DetectSpecialFoldersWithXList
If set to true, WebMail attempts to locate system folders using XLIST extension of IMAP. |
public
mixed
|
$CustomFields
|
public
boolean
|
$ForceSaveOnLogin
If set to true, account settings will always be updated on login. Default value is false. |
public
boolean
|
$AllowMail
|
public
boolean
|
$IsPasswordSpecified
|