Campbell Scientific RavenXTG Sierra Wireless Cellular Modem User Manual
Page 45

Appendix D. EmailSend Using the Gmail Outgoing SMTP Server
If Temp > 27 Then AlarmTrigger = True
If AlarmTrigger Then
Message = "Warning!" + CRLF + CRLF
Message = Message + "An alarm condition has been identified. "
Message = Message + "The temperature is " + Temp + " degrees C." + CRLF + CRLF
Message = Message + "Datalogger time is " + Status.Timestamp
EmailSuccess=EmailSend (ServerAddr,ToAddr,FromAddr,Subject,Message,Attach,UserName,Password,Result)
EndIf
EndIf
If Temp < 27 Then AlarmTrigger=False
NextScan
EndProg
D-3