Skip to content

mailing_bounced ​

php
bool mailing_bounced(string $email, number $nr_wysylki)

Checks whether a bounce was recorded for $email in mailing $nr_wysyłki. Returns true if a bounce was recorded, or false otherwise (including when no email was sent to that recipient).

Warning

Requires an address context.

Example:

php
if (!mailing_bounced(14)) {
ok();
} else {
system_skipmessage();
}

Result:

In this example, the mailing skips recipients
whose email in mailing 14 bounced.