How Do I Check If a Script Was Sent Via SMS or Email?