Sidebar

Is it possible to send a text message alert from within QIE?

0 votes
541 views
asked Nov 8, 2016 by gary-t-8719 (14,860 points)
I would like to be able to send a text message alert from within QIE. Types of Alerts would be when I have a high number of errors or a high number of messages in my inbound and outbound queues.

1 Answer

0 votes

Sending SMS or Text Messages is possible in QIE using your mobile phone number as an email address.

1. QIE will need to have the SMTP Sever Settings specified in the System Administration --> System Configuration --> Email Settings.

2. Use your phone number as an email address. Here is a list of most of the phone provider phone number email formats. In all cases replace "number" with your phone number.

T-Mobile: number@tmomail.net
Verizon: number@vtext.com
Sprint: number@messaging.sprintpcs.com or number@pm.sprint.com
Virgin Mobile: number@vmobl.com
Tracfone: number@mmst5.tracfone.com
Metro PCS: number@mymetropcs.com
Boost Mobile: number@myboostmobile.com
Cricket: number@sms.mycricket.com
Nextel: number@messaging.nextel.com
Alltel: number@message.alltel.com
Ptel: number@ptel.com
Suncom: number@tms.suncom.com
Qwest: number@qwestmp.com
U.S. Cellular: number@email.uscc.net

AT&T: number@txt.att.net

 

3. Write a script that will send out an email as desired.

This example shows a Scheduled Script that runs at the top of every hour and checks the channels error count. If the error count exceeds a specified number then a text message will be sent.

Example Code:
 
var errorCount = qie.getErrorCount();
 
if (StringUtils.equals('10', errorCount)) {
   qie.sendEmail('8015558765@vtext.com', 'Sample ADT Channel has a high number of errors', 'body');
}
 
answered Nov 8, 2016 by gary-t-8719 (14,860 points)
edited Sep 22, 2021 by gary-t-8719
...