Legacy Hardware and Apps
SMS messaging to multiple recipients

Hi,

I am trying to have the same alert and status information sent to multiple recipients - email addresses and phones, using SMS. I am using a DT800 with a cellular modem.

I have tried the following code but it does not seem to work. I only receive messages at the first email address listed, and I will get one for each line below. Is there a better way to attempt to send a single SMS message to multiple email addresses and phones? The code I tried looks something like that below.

DO'AT+CMGS=username1@@domain1.com^M' 
DO'EVENT EC=?302F0 (# @) P=?6psi (Min ?165) T=?7F2ntu (Max ?175F2) C=?1F2mg/L^M' 
DO'AT+CMGS=username2@@domain2.com^M' 
DO'EVENT EC=?302F0 (# @) P=?6psi (Min ?165) T=?7F2ntu (Max ?175F2) C=?1F2mg/L^M' 
DO'AT+CMGS=username3@@domain3.com^M' 
DO'EVENT EC=?302F0 (# @) P=?6psi (Min ?165) T=?7F2ntu (Max ?175F2) C=?1F2mg/L^M'

3/12: As an update - I have figured out how to get around this - by setting up an email forwarding to system with an ISP. But I would still appreciate any feedback still on the above.

Stu

Hi, I am trying to have the same alert and status information sent to multiple recipients - email addresses and phones, using SMS. I am using a DT800 with a cellular modem. I have tried the following code but it does not seem to work. I only receive messages at the first email address listed, and I will get one for each line below. Is there a better way to attempt to send a single SMS message to multiple email addresses and phones? The code I tried looks something like that below. ```` DO'AT+CMGS=username1@@domain1.com^M' DO'EVENT EC=?302F0 (# @) P=?6psi (Min ?165) T=?7F2ntu (Max ?175F2) C=?1F2mg/L^M' DO'AT+CMGS=username2@@domain2.com^M' DO'EVENT EC=?302F0 (# @) P=?6psi (Min ?165) T=?7F2ntu (Max ?175F2) C=?1F2mg/L^M' DO'AT+CMGS=username3@@domain3.com^M' DO'EVENT EC=?302F0 (# @) P=?6psi (Min ?165) T=?7F2ntu (Max ?175F2) C=?1F2mg/L^M' ```` 3/12: As an update - I have figured out how to get around this - by setting up an email forwarding to system with an ISP. But I would still appreciate any feedback still on the above. Stu

Good afternoon Stu,

You might have to allow a delay between sending messages so each message has time to process.

Try adding a 15 second delay between messages. You might have to try changing the delay period to find the minimum delay to use.

Cheers,
Roger

Good afternoon Stu, You might have to allow a delay between sending messages so each message has time to process. Try adding a 15 second delay between messages. You might have to try changing the delay period to find the minimum delay to use. Cheers, Roger

Thanks Roger.

I can give that a try. I am working with several schedules at 1S and lower sampling, so I wonder if there's a way to insert a delay that only affects this schedule?

Thanks,
Stu

Thanks Roger. I can give that a try. I am working with several schedules at 1S and lower sampling, so I wonder if there's a way to insert a delay that only affects this schedule? Thanks, Stu

On a related topic, I have had some trouble sending SMS messages (to a single recipient). About half the time I get the full message or close to it and half the time I get random bits and pieces.

I assume it has something to do with the cellular modem I am using but am posting here in case you have some suggestions. I have the following in a single schedule:

RIX LOGON GI
302CV(W)=301CV 'Set event code CV value to 302CV
301CV(W)=0 'Reset event code to zero

DO'AT+CMGS=alert@@domain.net^M'
DO'EVENT EC=?302F0 (# @)^M'

Another schedule running and logging at 200T polls this schedule based on certain thresholds exceeded in the data. All I am trying to pass through is an event code and time/date.

Stu

On a related topic, I have had some trouble sending SMS messages (to a single recipient). About half the time I get the full message or close to it and half the time I get random bits and pieces. I assume it has something to do with the cellular modem I am using but am posting here in case you have some suggestions. I have the following in a single schedule: ```` RIX LOGON GI 302CV(W)=301CV 'Set event code CV value to 302CV 301CV(W)=0 'Reset event code to zero DO'AT+CMGS=alert@@domain.net^M' DO'EVENT EC=?302F0 (# @)^M' ```` Another schedule running and logging at 200T polls this schedule based on certain thresholds exceeded in the data. All I am trying to pass through is an event code and time/date. Stu

Good morning Stu,

Can you please email me the complete code so we can take a look at the whole structure? support@datataker.com.au

Cheers,
Roger

Good morning Stu, Can you please email me the complete code so we can take a look at the whole structure? support@datataker.com.au Cheers, Roger
27
4
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft