With T100MD+r50, Trilogi V6.43
Trying to send E-mail via serial connection to PC running server to DSL through modem/router. No problems sending to one address, but with 2 codes following quickly, I only get the first E-mail. What's the function of "emEvent[1] = 1", do I need that at the end of each message? Between Messages? Note it is commented out below.
Here's the code:
'This sequence is to our A T & T Cell phone
' Send the E-Mail
PRINT #1 "<EMAIL xxxxxxxxx@txt.att.net>"
PRINT #1 "Sender: xxx@xxxxxx.net"
PRINT #1 "Subject: PLC ALARM"
PRINT #1 "THE FOOTER TILE SUMP IS HIGH LEVEL"
PRINT #1 STR$(DATE[2],2) + "/" + STR$(DATE[3],2) + "/" + STR$(DATE[1],4)+ " " + STR$(DM[3984],2) + ":" + STR$(TIME[2],2)
PRINT #1 "Number " + STR$(CtrPV[6])
PRINT #1 "</>"
' emEvent[1] = 1
'This sequence is to our home E-mail
PRINT #1 "<EMAIL xxx@xxxxx.net>"
PRINT #1 "Sender: xxx@xxxxx.net"
PRINT #1 "Subject: PLC ALARM"
PRINT #1 "THE FOOTER TILE SUMP IS HIGH LEVEL"
PRINT #1 STR$(DATE[2],2) + "/" + STR$(DATE[3],2) + "/" + STR$(DATE[1],4)+ " " + STR$(DM[3984],2) + ":" + STR$(TIME[2],2)
PRINT #1 "Number " + STR$(CtrPV[6])
PRINT #1 "</>"
' emEvent[1] = 1
Thanks in advance. :)