NotifyNow - sendSMS(String phoneNumber, String smsBody)

  • Release version: Washingtondc
  • Updated February 1, 2024
  • 1 minute to read
  • Sends an SMS message to an E.164-compliant mobile phone number.

    Notify supports international numbers. Using this method with a number that does not support sending SMS messages results in an error being logged.

    Table 1. Parameters
    Name Type Description
    phoneNumber String The E.164-compliant phone number to send the message to.
    smsBody String The message to send, maximum 1600 characters.
    Table 2. Returns
    Type Description
    void
    new SNC.NotifyNow().sendSMS("+31612345678", "This is a message without source record");