mailing_opened
php
mixed mailing_opened(number|array $nr_wysylki, [number $nr_wysylki_max])Checks whether the current address opened mailing $nr_wysyłki. Returns true if an open was recorded, or false otherwise.
For the current email address, you can supply a single parameter, $nr_wysylki, containing an array of mailing IDs.
If the second parameter $nr_wysyłki_max is provided, checks the range from $nr_wysyłki to $nr_wysyłki_max. In this case, returns the number of mailings in that range in which an open was recorded.
Warning
Requires an address context.
Only non-archived mailings are searched.
Example:
php
if (mailing_opened(14)) {
ok();
} else {
system_skipmessage();
}Result:
In this example, the mailing skips recipients who did not open mailing 14.