public function btnSmsSend_Click($strFormId, $strControlId, $strParameter) { if (!QApplication::$Login->Email) { QApplication::DisplayAlert('Your NOAH Account was not set up with your @alcf.net email address, so unfortunately you cannot yet send a SMS Message. Please contact it@alcf.net to have this fixed.'); return; } SmsMessage::QueueSmsForGroup($this->objGroup, QApplication::$Login, $this->txtSmsTitle->Text, $this->txtSmsBody->Text); $this->dtgSmsMessage->Refresh(); $this->txtSmsTitle->Text = null; $this->txtSmsBody->Text = null; QApplication::DisplayAlert('Your SMS Message was queued to be sent! You will receive a copy of this SMS to your email at ' . QApplication::$Login->Email . '.'); }