modules/Campaigns/ProcessBouncedEmails.php
Functions
campaign_process_bounced_emails(
$email, $email_header
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $email_header |
checkBouncedEmailForIdentifier(
string $email_description
)
:
arrayScan the bounced email searching for a valid target identifier.
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $email_description | string | Email Description |
| Type | Description |
|---|---|
| array | Results including matches and identifier |
createBouncedCampaignLogEntry(
array $row, \Email $email, string $email_description
)
:
stringCreate a bounced log campaign entry
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $row | array | |
| $email_description | string |
| Type | Description |
|---|---|
| string |
getExistingCampaignLogEntry(
string $identifier
)
:
arrayGet the existing campaign log entry by tracker key.
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $identifier | string | Target Key |
| Type | Description |
|---|---|
| array | Campaign Log Row |
markEmailAddressInvalid(
$email_address
)
:
voidGiven an email address, mark it as invalid.
Parameters
| Name | Type | Description |
|---|---|---|
| $email_address |