Methods |
public
|
__construct(Module $oModule)
|
#
|
public
|
getAutoresponder(MailAccount $oAccount): array
|
#
|
public
|
setAutoresponder(MailAccount $oAccount, string $sSubject, string $sText, bool $bEnabled = true): bool
|
#
|
public
|
getForward(MailAccount $oAccount): array
|
#
|
public
|
setForward(MailAccount $oAccount, string $sForwardToEmail, bool $bEnabled = true, bool $bKeepMessageCopy = true): bool
Parameters
$bEnabled |
Default true
|
$bKeepMessageCopy |
Indicates if message should be kept after forwarding. Default true
|
|
#
|
public
|
createFilterInstance(MailAccount $oAccount, $aData)
|
#
|
public
|
getSieveFilters(MailAccount $oAccount): array|false
|
#
|
public
|
updateSieveFilters(MailAccount $oAccount, array $aFilters): bool
|
#
|
public
|
disableForward(MailAccount $oAccount): bool
Deprecated
since version 9.7.5. Not used anywhere.
|
#
|
public
|
getAllowBlockLists($oAccount)
|
#
|
public
|
setAllowBlockLists($oAccount, $aAllowList, $aBlockList, $iSpamScore = null)
|
#
|
public
|
addRowToAllowList($oAccount, $sRow)
|
#
|
public
|
addRowToBlockList($oAccount, $sRow)
|
#
|
public
|
resave(MailAccount $oAccount, string $sSectionName = '', string $sSectionData = ''): bool
Deprecated
Parameters
$sSectionName |
Default ''
|
$sSectionData |
Default ''
|
|
#
|
public
|
getFiltersRawData(MailAccount $oAccount): string
|
#
|
public
|
setFiltersRawData(MailAccount $oAccount, string $sFiltersRawData): bool
|
#
|