Skip to content

sms_sent ​

php
bool sms_sent($nr_wysylki_sms)

Checks whether an SMS was sent to the address in the current context during SMS mailing $nr_wysyłki_sms. Returns true if it was sent, or false otherwise.

Warning

Requires an address context.

Example:

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

Result:

In this example, the mailing skips recipients who were sent an SMS during SMS mailing 6.