I am sending a SMS through the SENDMAIL command. Our Flexy does not have an sms unit.
What I am looking to do is insert a TAG value in the text message. Here is the code I have;
GetTime:
A$ = TIME$
d% = GETSYS TAG, “DailyRollTotal”
a% = DOW A$
b% = VAL(A$(12 TO 13))
c% = VAL(A$(15 TO 16))
IF ((a% > 0) AND (a% < 6)) THEN
IF (b% = 20) THEN
IF (c% = 18) THEN
Goto SendData
ENDIF
ENDIF
ENDIF
END
SendData:
Sendmail “**************@sms.talk2m.com”, “”, “Number of Rolls” DailyRollTotal@, “”
I have tried all sorts of things and I can’t get any tag data to successfully enter into the text. Thank you for any help