Record a bounce for an email address or a subscriber in a list
If given just an email address, the bounce is recorded in all ProMailer lists that contain the email
Usage
// basic usage
$int = $proMailerSubscribers->bounce($subscriber);
// usage with all arguments
$int = $proMailerSubscribers->bounce($subscriber, $list = null);
Arguments
Name | Type(s) | Description |
---|---|---|
subscriber | string, ProMailerSubscriber, int, Page | Email address, subscriber object or ID |
list (optional) | null, ProMailerList, int | List or list ID, or omit to detect from subscriber |
Return value
int
Positive number on success, 0 on fail
ProMailerSubscribers methods and properties
API reference based on ProcessWire core version 3.0.236