Public Member Functions |
|
__construct ($quarantineObj, $parentObj) | |
clearFilters () | |
deleteFilteredEmails () | |
deleteQuarantineEMail ($mailID) | |
deliverFilteredEmails () | |
deliverQuarantineEMail ($mailID) | |
getFilterObj () | |
getQuarantineObj () | |
getSessionObj () | |
imposeAgeRestriction ($day=0, $hours=0, $min=0, $sec=0, $compareType="equal") | |
imposeNextScheduleRestriction ($date, $compareType) | |
imposeRecipientRestriction ($recipient, $compareType="equal") | |
imposeRetriesRestriction ($nrOfRetries, $compareType="equal") | |
imposeSenderRestriction ($sender, $compareType) | |
imposeSizeRestriction ($size, $compareType="equal", $sizeType="kb") | |
listFilteredEMails ($action="no action") | |
listQuarantineEMails () |
Member Function Documentation
Quarantine::clearFilters | ( | ) |
clears the already set filters
- Returns:
- bool
Quarantine::deleteFilteredEmails | ( | ) |
applies a delete action to filtered emails
- Returns:
- bool
Quarantine::deleteQuarantineEMail | ( | $ | mailID | ) |
this method tells Axigen to delete the mailId
- Returns:
- bool
- Parameters:
-
$mailID string the mailId to delete
Quarantine::deliverFilteredEmails | ( | ) |
applies a delivery action to filtered emails
- Returns:
- bool
Quarantine::deliverQuarantineEMail | ( | $ | mailID | ) |
this method tells Axigen to delete the mailId
- Returns:
- bool
- Parameters:
-
$mailID string the mailId to delete
Quarantine::imposeAgeRestriction | ( | $ | day = 0 , |
|
$ | hours = 0 , |
|||
$ | min = 0 , |
|||
$ | sec = 0 , |
|||
$ | compareType =
"equal" |
|||
) |
sets the filter age restriction
- Returns:
- bool
- Parameters:
-
$day int number of days $hours int number of hours $min int number of minutes $sec int number of seconds $compareType string type of comparison (equal , less, more)
Quarantine::imposeNextScheduleRestriction | ( | $ | date, | |
$ | compareType | |||
) |
sets the filter next schedule restriction
- Returns:
- bool
- Parameters:
-
$date string next schedule date (ex: 2 Jan 2007 17:34) $compareType string type of comparison (equal , less, more)
Quarantine::imposeRecipientRestriction | ( | $ | recipient, | |
$ | compareType =
"equal" |
|||
) |
sets the filter recipient restriction
- Returns:
- bool
- Parameters:
-
$recipient string the Recipient to filter $compareType string type of comparison (equal , not equal)
Quarantine::imposeRetriesRestriction | ( | $ | nrOfRetries, | |
$ | compareType =
"equal" |
|||
) |
sets the filter retries restriction
- Returns:
- bool
- Parameters:
-
$nrOfRetries int number of retries $compareType string type of comparison (equal , less, more)
Quarantine::imposeSenderRestriction | ( | $ | sender, | |
$ | compareType | |||
) |
sets the filter sender restriction
- Returns:
- bool
- Parameters:
-
$sender string the Sender to filter $compareType type of comparison (equal , not equal)
Quarantine::imposeSizeRestriction | ( | $ | size, | |
$ | compareType =
"equal" , |
|||
$ | sizeType = "kb" |
|||
) |
sets the filter size restriction
- Returns:
- bool
- Parameters:
-
$size int the message size $compareType string type of comparison (equal , less, more) $sizeType string type of size (B - bytes, KB - kilobytes, MB - megabytes)
Quarantine::listFilteredEMails | ( | $ | action =
"no action" |
) |
returns an array with emails filtered by already set filters
- Returns:
- array
Quarantine::listQuarantineEMails | ( | ) |
returns an array with all the emails from the quarantine
- Returns:
- array