modules/Campaigns/ProcessBouncedEmails.php

Show: inherited
    Table of Contents

    Functions

    functioncampaign_process_bounced_emails(  $email,  $email_header ) : void

    Parameters
    Name Type Description
    $email
    $email_header
    functioncheckBouncedEmailForIdentifier( string $email_description ) : array

    Scan the bounced email searching for a valid target identifier.

    Parameters
    Name Type Description
    $email_description string

    Email Description

    Returns
    Type Description
    array Results including matches and identifier
    functioncreateBouncedCampaignLogEntry( array $row, \Email $email, string $email_description ) : string

    Create a bounced log campaign entry

    Parameters
    Name Type Description
    $row array
    $email \Email
    $email_description string
    Returns
    Type Description
    string
    functiongetExistingCampaignLogEntry( string $identifier ) : array

    Get the existing campaign log entry by tracker key.

    Parameters
    Name Type Description
    $identifier string

    Target Key

    Returns
    Type Description
    array Campaign Log Row
    functionmarkEmailAddressInvalid(  $email_address ) : void

    Given an email address, mark it as invalid.

    Parameters
    Name Type Description
    $email_address
    functionretrieveErrorReportAttachment( \Email $email ) : string

    Retrieve the attached error report for a bounced email if it exists.

    Parameters
    Name Type Description
    $email \Email
    Returns
    Type Description
    string
    Documentation was generated by DocBlox 0.18.1.