Skip to content

sms_received ​

php
bool sms_received(number $nr_wysylki_sms)

Checks whether receipt of an SMS from SMS mailing $nr_wysyłki_sms was recorded for the current email address. Returns true if it was recorded, or false otherwise.

Warning

Requires an address context.

Example:

php
if (sms_received(6)) {
ok();
} else {
system_skipmessage();
}

Result:

In this example, the mailing skips recipients
for whom receipt of an SMS from mailing 6 was recorded.